@pulumi/digitalocean 4.7.0-alpha.1633346817
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +68 -0
- package/app.d.ts +203 -0
- package/app.js +174 -0
- package/app.js.map +1 -0
- package/cdn.d.ts +169 -0
- package/cdn.js +116 -0
- package/cdn.js.map +1 -0
- package/certificate.d.ts +225 -0
- package/certificate.js +137 -0
- package/certificate.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +10 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +20 -0
- package/config/vars.js +28 -0
- package/config/vars.js.map +1 -0
- package/containerRegistry.d.ts +88 -0
- package/containerRegistry.js +83 -0
- package/containerRegistry.js.map +1 -0
- package/containerRegistryDockerCredentials.d.ts +108 -0
- package/containerRegistryDockerCredentials.js +93 -0
- package/containerRegistryDockerCredentials.js.map +1 -0
- package/customImage.d.ts +155 -0
- package/customImage.js +113 -0
- package/customImage.js.map +1 -0
- package/databaseCluster.d.ts +306 -0
- package/databaseCluster.js +165 -0
- package/databaseCluster.js.map +1 -0
- package/databaseConnectionPool.d.ts +189 -0
- package/databaseConnectionPool.js +120 -0
- package/databaseConnectionPool.js.map +1 -0
- package/databaseDb.d.ts +87 -0
- package/databaseDb.js +82 -0
- package/databaseDb.js.map +1 -0
- package/databaseFirewall.d.ts +129 -0
- package/databaseFirewall.js +126 -0
- package/databaseFirewall.js.map +1 -0
- package/databaseReplica.d.ts +204 -0
- package/databaseReplica.js +110 -0
- package/databaseReplica.js.map +1 -0
- package/databaseUser.d.ts +117 -0
- package/databaseUser.js +90 -0
- package/databaseUser.js.map +1 -0
- package/dnsRecord.d.ts +200 -0
- package/dnsRecord.js +114 -0
- package/dnsRecord.js.map +1 -0
- package/domain.d.ts +103 -0
- package/domain.js +83 -0
- package/domain.js.map +1 -0
- package/droplet.d.ts +386 -0
- package/droplet.js +137 -0
- package/droplet.js.map +1 -0
- package/dropletSnapshot.d.ts +117 -0
- package/dropletSnapshot.js +88 -0
- package/dropletSnapshot.js.map +1 -0
- package/firewall.d.ts +226 -0
- package/firewall.js +150 -0
- package/firewall.js.map +1 -0
- package/floatingIp.d.ts +112 -0
- package/floatingIp.js +91 -0
- package/floatingIp.js.map +1 -0
- package/floatingIpAssignment.d.ts +85 -0
- package/floatingIpAssignment.js +83 -0
- package/floatingIpAssignment.js.map +1 -0
- package/getAccount.d.ts +32 -0
- package/getAccount.js +31 -0
- package/getAccount.js.map +1 -0
- package/getApp.d.ts +63 -0
- package/getApp.js +36 -0
- package/getApp.js.map +1 -0
- package/getCertificate.d.ts +48 -0
- package/getCertificate.js +40 -0
- package/getCertificate.js.map +1 -0
- package/getContainerRegistry.d.ts +54 -0
- package/getContainerRegistry.js +41 -0
- package/getContainerRegistry.js.map +1 -0
- package/getDatabaseCluster.d.ts +103 -0
- package/getDatabaseCluster.js +35 -0
- package/getDatabaseCluster.js.map +1 -0
- package/getDatabaseReplica.d.ts +87 -0
- package/getDatabaseReplica.js +40 -0
- package/getDatabaseReplica.js.map +1 -0
- package/getDomain.d.ts +37 -0
- package/getDomain.js +28 -0
- package/getDomain.js.map +1 -0
- package/getDomains.d.ts +61 -0
- package/getDomains.js +49 -0
- package/getDomains.js.map +1 -0
- package/getDroplet.d.ts +161 -0
- package/getDroplet.js +67 -0
- package/getDroplet.js.map +1 -0
- package/getDropletSnapshot.d.ts +76 -0
- package/getDropletSnapshot.js +43 -0
- package/getDropletSnapshot.js.map +1 -0
- package/getDroplets.d.ts +85 -0
- package/getDroplets.js +73 -0
- package/getDroplets.js.map +1 -0
- package/getFirewall.d.ts +83 -0
- package/getFirewall.js +40 -0
- package/getFirewall.js.map +1 -0
- package/getFloatingIp.d.ts +48 -0
- package/getFloatingIp.js +43 -0
- package/getFloatingIp.js.map +1 -0
- package/getImage.d.ts +110 -0
- package/getImage.js +71 -0
- package/getImage.js.map +1 -0
- package/getImages.d.ts +90 -0
- package/getImages.js +74 -0
- package/getImages.js.map +1 -0
- package/getKubernetesCluster.d.ts +95 -0
- package/getKubernetesCluster.js +23 -0
- package/getKubernetesCluster.js.map +1 -0
- package/getKubernetesVersions.d.ts +79 -0
- package/getKubernetesVersions.js +70 -0
- package/getKubernetesVersions.js.map +1 -0
- package/getLoadBalancer.d.ts +59 -0
- package/getLoadBalancer.js +41 -0
- package/getLoadBalancer.js.map +1 -0
- package/getProject.d.ts +72 -0
- package/getProject.js +37 -0
- package/getProject.js.map +1 -0
- package/getProjects.d.ts +85 -0
- package/getProjects.js +72 -0
- package/getProjects.js.map +1 -0
- package/getRecord.d.ts +42 -0
- package/getRecord.js +28 -0
- package/getRecord.js.map +1 -0
- package/getRecords.d.ts +39 -0
- package/getRecords.js +25 -0
- package/getRecords.js.map +1 -0
- package/getRegion.d.ts +56 -0
- package/getRegion.js +35 -0
- package/getRegion.js.map +1 -0
- package/getRegions.d.ts +82 -0
- package/getRegions.js +70 -0
- package/getRegions.js.map +1 -0
- package/getSizes.d.ts +35 -0
- package/getSizes.js +26 -0
- package/getSizes.js.map +1 -0
- package/getSpacesBucket.d.ts +59 -0
- package/getSpacesBucket.js +39 -0
- package/getSpacesBucket.js.map +1 -0
- package/getSpacesBucketObject.d.ts +125 -0
- package/getSpacesBucketObject.js +53 -0
- package/getSpacesBucketObject.js.map +1 -0
- package/getSpacesBucketObjects.d.ts +83 -0
- package/getSpacesBucketObjects.js +49 -0
- package/getSpacesBucketObjects.js.map +1 -0
- package/getSpacesBuckets.d.ts +75 -0
- package/getSpacesBuckets.js +63 -0
- package/getSpacesBuckets.js.map +1 -0
- package/getSshKey.d.ts +47 -0
- package/getSshKey.js +46 -0
- package/getSshKey.js.map +1 -0
- package/getSshKeys.d.ts +58 -0
- package/getSshKeys.js +46 -0
- package/getSshKeys.js.map +1 -0
- package/getTag.d.ts +71 -0
- package/getTag.js +45 -0
- package/getTag.js.map +1 -0
- package/getTags.d.ts +50 -0
- package/getTags.js +41 -0
- package/getTags.js.map +1 -0
- package/getVolume.d.ts +98 -0
- package/getVolume.js +64 -0
- package/getVolume.js.map +1 -0
- package/getVolumeSnapshot.d.ts +98 -0
- package/getVolumeSnapshot.js +61 -0
- package/getVolumeSnapshot.js.map +1 -0
- package/getVpc.d.ts +95 -0
- package/getVpc.js +61 -0
- package/getVpc.js.map +1 -0
- package/index.d.ts +74 -0
- package/index.js +240 -0
- package/index.js.map +1 -0
- package/kubernetesCluster.d.ts +220 -0
- package/kubernetesCluster.js +102 -0
- package/kubernetesCluster.js.map +1 -0
- package/kubernetesNodePool.d.ts +242 -0
- package/kubernetesNodePool.js +141 -0
- package/kubernetesNodePool.js.map +1 -0
- package/loadBalancer.d.ts +307 -0
- package/loadBalancer.js +161 -0
- package/loadBalancer.js.map +1 -0
- package/monitorAlert.d.ts +193 -0
- package/monitorAlert.js +99 -0
- package/monitorAlert.js.map +1 -0
- package/package.json +28 -0
- package/package.json.bak +27 -0
- package/package.json.dev +27 -0
- package/project.d.ts +191 -0
- package/project.js +129 -0
- package/project.js.map +1 -0
- package/projectResources.d.ts +100 -0
- package/projectResources.js +98 -0
- package/projectResources.js.map +1 -0
- package/provider.d.ts +67 -0
- package/provider.js +51 -0
- package/provider.js.map +1 -0
- package/scripts/install-pulumi-plugin.js +21 -0
- package/spacesBucket.d.ts +210 -0
- package/spacesBucket.js +139 -0
- package/spacesBucket.js.map +1 -0
- package/spacesBucketObject.d.ts +293 -0
- package/spacesBucketObject.js +139 -0
- package/spacesBucketObject.js.map +1 -0
- package/sshKey.d.ts +103 -0
- package/sshKey.js +89 -0
- package/sshKey.js.map +1 -0
- package/tag.d.ts +127 -0
- package/tag.js +93 -0
- package/tag.js.map +1 -0
- package/types/enums/index.d.ts +151 -0
- package/types/enums/index.js +148 -0
- package/types/enums/index.js.map +1 -0
- package/types/index.d.ts +4 -0
- package/types/index.js +12 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +1584 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +2730 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +51 -0
- package/utilities.js.map +1 -0
- package/volume.d.ts +225 -0
- package/volume.js +128 -0
- package/volume.js.map +1 -0
- package/volumeAttachment.d.ts +88 -0
- package/volumeAttachment.js +86 -0
- package/volumeAttachment.js.map +1 -0
- package/volumeSnapshot.d.ts +129 -0
- package/volumeSnapshot.js +90 -0
- package/volumeSnapshot.js.map +1 -0
- package/vpc.d.ts +152 -0
- package/vpc.js +109 -0
- package/vpc.js.map +1 -0
package/dnsRecord.d.ts
ADDED
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { enums } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* Provides a DigitalOcean DNS record resource.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
11
|
+
*
|
|
12
|
+
* const _default = new digitalocean.Domain("default", {name: "example.com"});
|
|
13
|
+
* // Add an A record to the domain for www.example.com.
|
|
14
|
+
* const www = new digitalocean.DnsRecord("www", {
|
|
15
|
+
* domain: _default.name,
|
|
16
|
+
* type: "A",
|
|
17
|
+
* value: "192.168.0.11",
|
|
18
|
+
* });
|
|
19
|
+
* // Add a MX record for the example.com domain itself.
|
|
20
|
+
* const mx = new digitalocean.DnsRecord("mx", {
|
|
21
|
+
* domain: _default.name,
|
|
22
|
+
* type: "MX",
|
|
23
|
+
* priority: 10,
|
|
24
|
+
* value: "mail.example.com.",
|
|
25
|
+
* });
|
|
26
|
+
* export const wwwFqdn = www.fqdn;
|
|
27
|
+
* export const mxFqdn = mx.fqdn;
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* Records can be imported using the domain name and record `id` when joined with a comma. See the following example
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import digitalocean:index/dnsRecord:DnsRecord example_record example.com,12345678
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare class DnsRecord extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing DnsRecord resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DnsRecordState, opts?: pulumi.CustomResourceOptions): DnsRecord;
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of DnsRecord. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj: any): obj is DnsRecord;
|
|
54
|
+
/**
|
|
55
|
+
* The domain to add the record to.
|
|
56
|
+
*/
|
|
57
|
+
readonly domain: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The flags of the record. Only valid when type is `CAA`. Must be between 0 and 255.
|
|
60
|
+
*/
|
|
61
|
+
readonly flags: pulumi.Output<number | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* The FQDN of the record
|
|
64
|
+
*/
|
|
65
|
+
readonly fqdn: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The hostname of the record. Use `@` for records on domain's name itself.
|
|
68
|
+
*/
|
|
69
|
+
readonly name: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The port of the record. Only valid when type is `SRV`. Must be between 1 and 65535.
|
|
72
|
+
*/
|
|
73
|
+
readonly port: pulumi.Output<number | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* The priority of the record. Only valid when type is `MX` or `SRV`. Must be between 0 and 65535.
|
|
76
|
+
*/
|
|
77
|
+
readonly priority: pulumi.Output<number | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* The tag of the record. Only valid when type is `CAA`. Must be one of `issue`, `issuewild`, or `iodef`.
|
|
80
|
+
*/
|
|
81
|
+
readonly tag: pulumi.Output<string | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* The time to live for the record, in seconds. Must be at least 0.
|
|
84
|
+
*/
|
|
85
|
+
readonly ttl: pulumi.Output<number>;
|
|
86
|
+
/**
|
|
87
|
+
* The type of record. Must be one of `A`, `AAAA`, `CAA`, `CNAME`, `MX`, `NS`, `TXT`, or `SRV`.
|
|
88
|
+
*/
|
|
89
|
+
readonly type: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The value of the record.
|
|
92
|
+
*/
|
|
93
|
+
readonly value: pulumi.Output<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The weight of the record. Only valid when type is `SRV`. Must be between 0 and 65535.
|
|
96
|
+
*/
|
|
97
|
+
readonly weight: pulumi.Output<number | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* Create a DnsRecord resource with the given unique name, arguments, and options.
|
|
100
|
+
*
|
|
101
|
+
* @param name The _unique_ name of the resource.
|
|
102
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
103
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
104
|
+
*/
|
|
105
|
+
constructor(name: string, args: DnsRecordArgs, opts?: pulumi.CustomResourceOptions);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Input properties used for looking up and filtering DnsRecord resources.
|
|
109
|
+
*/
|
|
110
|
+
export interface DnsRecordState {
|
|
111
|
+
/**
|
|
112
|
+
* The domain to add the record to.
|
|
113
|
+
*/
|
|
114
|
+
domain?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The flags of the record. Only valid when type is `CAA`. Must be between 0 and 255.
|
|
117
|
+
*/
|
|
118
|
+
flags?: pulumi.Input<number>;
|
|
119
|
+
/**
|
|
120
|
+
* The FQDN of the record
|
|
121
|
+
*/
|
|
122
|
+
fqdn?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* The hostname of the record. Use `@` for records on domain's name itself.
|
|
125
|
+
*/
|
|
126
|
+
name?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* The port of the record. Only valid when type is `SRV`. Must be between 1 and 65535.
|
|
129
|
+
*/
|
|
130
|
+
port?: pulumi.Input<number>;
|
|
131
|
+
/**
|
|
132
|
+
* The priority of the record. Only valid when type is `MX` or `SRV`. Must be between 0 and 65535.
|
|
133
|
+
*/
|
|
134
|
+
priority?: pulumi.Input<number>;
|
|
135
|
+
/**
|
|
136
|
+
* The tag of the record. Only valid when type is `CAA`. Must be one of `issue`, `issuewild`, or `iodef`.
|
|
137
|
+
*/
|
|
138
|
+
tag?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The time to live for the record, in seconds. Must be at least 0.
|
|
141
|
+
*/
|
|
142
|
+
ttl?: pulumi.Input<number>;
|
|
143
|
+
/**
|
|
144
|
+
* The type of record. Must be one of `A`, `AAAA`, `CAA`, `CNAME`, `MX`, `NS`, `TXT`, or `SRV`.
|
|
145
|
+
*/
|
|
146
|
+
type?: pulumi.Input<string | enums.RecordType>;
|
|
147
|
+
/**
|
|
148
|
+
* The value of the record.
|
|
149
|
+
*/
|
|
150
|
+
value?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* The weight of the record. Only valid when type is `SRV`. Must be between 0 and 65535.
|
|
153
|
+
*/
|
|
154
|
+
weight?: pulumi.Input<number>;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* The set of arguments for constructing a DnsRecord resource.
|
|
158
|
+
*/
|
|
159
|
+
export interface DnsRecordArgs {
|
|
160
|
+
/**
|
|
161
|
+
* The domain to add the record to.
|
|
162
|
+
*/
|
|
163
|
+
domain: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* The flags of the record. Only valid when type is `CAA`. Must be between 0 and 255.
|
|
166
|
+
*/
|
|
167
|
+
flags?: pulumi.Input<number>;
|
|
168
|
+
/**
|
|
169
|
+
* The hostname of the record. Use `@` for records on domain's name itself.
|
|
170
|
+
*/
|
|
171
|
+
name?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* The port of the record. Only valid when type is `SRV`. Must be between 1 and 65535.
|
|
174
|
+
*/
|
|
175
|
+
port?: pulumi.Input<number>;
|
|
176
|
+
/**
|
|
177
|
+
* The priority of the record. Only valid when type is `MX` or `SRV`. Must be between 0 and 65535.
|
|
178
|
+
*/
|
|
179
|
+
priority?: pulumi.Input<number>;
|
|
180
|
+
/**
|
|
181
|
+
* The tag of the record. Only valid when type is `CAA`. Must be one of `issue`, `issuewild`, or `iodef`.
|
|
182
|
+
*/
|
|
183
|
+
tag?: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* The time to live for the record, in seconds. Must be at least 0.
|
|
186
|
+
*/
|
|
187
|
+
ttl?: pulumi.Input<number>;
|
|
188
|
+
/**
|
|
189
|
+
* The type of record. Must be one of `A`, `AAAA`, `CAA`, `CNAME`, `MX`, `NS`, `TXT`, or `SRV`.
|
|
190
|
+
*/
|
|
191
|
+
type: pulumi.Input<string | enums.RecordType>;
|
|
192
|
+
/**
|
|
193
|
+
* The value of the record.
|
|
194
|
+
*/
|
|
195
|
+
value: pulumi.Input<string>;
|
|
196
|
+
/**
|
|
197
|
+
* The weight of the record. Only valid when type is `SRV`. Must be between 0 and 65535.
|
|
198
|
+
*/
|
|
199
|
+
weight?: pulumi.Input<number>;
|
|
200
|
+
}
|
package/dnsRecord.js
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("./utilities");
|
|
7
|
+
/**
|
|
8
|
+
* Provides a DigitalOcean DNS record resource.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
15
|
+
*
|
|
16
|
+
* const _default = new digitalocean.Domain("default", {name: "example.com"});
|
|
17
|
+
* // Add an A record to the domain for www.example.com.
|
|
18
|
+
* const www = new digitalocean.DnsRecord("www", {
|
|
19
|
+
* domain: _default.name,
|
|
20
|
+
* type: "A",
|
|
21
|
+
* value: "192.168.0.11",
|
|
22
|
+
* });
|
|
23
|
+
* // Add a MX record for the example.com domain itself.
|
|
24
|
+
* const mx = new digitalocean.DnsRecord("mx", {
|
|
25
|
+
* domain: _default.name,
|
|
26
|
+
* type: "MX",
|
|
27
|
+
* priority: 10,
|
|
28
|
+
* value: "mail.example.com.",
|
|
29
|
+
* });
|
|
30
|
+
* export const wwwFqdn = www.fqdn;
|
|
31
|
+
* export const mxFqdn = mx.fqdn;
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## Import
|
|
35
|
+
*
|
|
36
|
+
* Records can be imported using the domain name and record `id` when joined with a comma. See the following example
|
|
37
|
+
*
|
|
38
|
+
* ```sh
|
|
39
|
+
* $ pulumi import digitalocean:index/dnsRecord:DnsRecord example_record example.com,12345678
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
class DnsRecord extends pulumi.CustomResource {
|
|
43
|
+
constructor(name, argsOrState, opts) {
|
|
44
|
+
let inputs = {};
|
|
45
|
+
opts = opts || {};
|
|
46
|
+
if (opts.id) {
|
|
47
|
+
const state = argsOrState;
|
|
48
|
+
inputs["domain"] = state ? state.domain : undefined;
|
|
49
|
+
inputs["flags"] = state ? state.flags : undefined;
|
|
50
|
+
inputs["fqdn"] = state ? state.fqdn : undefined;
|
|
51
|
+
inputs["name"] = state ? state.name : undefined;
|
|
52
|
+
inputs["port"] = state ? state.port : undefined;
|
|
53
|
+
inputs["priority"] = state ? state.priority : undefined;
|
|
54
|
+
inputs["tag"] = state ? state.tag : undefined;
|
|
55
|
+
inputs["ttl"] = state ? state.ttl : undefined;
|
|
56
|
+
inputs["type"] = state ? state.type : undefined;
|
|
57
|
+
inputs["value"] = state ? state.value : undefined;
|
|
58
|
+
inputs["weight"] = state ? state.weight : undefined;
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
const args = argsOrState;
|
|
62
|
+
if ((!args || args.domain === undefined) && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'domain'");
|
|
64
|
+
}
|
|
65
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'type'");
|
|
67
|
+
}
|
|
68
|
+
if ((!args || args.value === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'value'");
|
|
70
|
+
}
|
|
71
|
+
inputs["domain"] = args ? args.domain : undefined;
|
|
72
|
+
inputs["flags"] = args ? args.flags : undefined;
|
|
73
|
+
inputs["name"] = args ? args.name : undefined;
|
|
74
|
+
inputs["port"] = args ? args.port : undefined;
|
|
75
|
+
inputs["priority"] = args ? args.priority : undefined;
|
|
76
|
+
inputs["tag"] = args ? args.tag : undefined;
|
|
77
|
+
inputs["ttl"] = args ? args.ttl : undefined;
|
|
78
|
+
inputs["type"] = args ? args.type : undefined;
|
|
79
|
+
inputs["value"] = args ? args.value : undefined;
|
|
80
|
+
inputs["weight"] = args ? args.weight : undefined;
|
|
81
|
+
inputs["fqdn"] = undefined /*out*/;
|
|
82
|
+
}
|
|
83
|
+
if (!opts.version) {
|
|
84
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
85
|
+
}
|
|
86
|
+
super(DnsRecord.__pulumiType, name, inputs, opts);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Get an existing DnsRecord resource's state with the given name, ID, and optional extra
|
|
90
|
+
* properties used to qualify the lookup.
|
|
91
|
+
*
|
|
92
|
+
* @param name The _unique_ name of the resulting resource.
|
|
93
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
94
|
+
* @param state Any extra arguments used during the lookup.
|
|
95
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
96
|
+
*/
|
|
97
|
+
static get(name, id, state, opts) {
|
|
98
|
+
return new DnsRecord(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Returns true if the given object is an instance of DnsRecord. This is designed to work even
|
|
102
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
103
|
+
*/
|
|
104
|
+
static isInstance(obj) {
|
|
105
|
+
if (obj === undefined || obj === null) {
|
|
106
|
+
return false;
|
|
107
|
+
}
|
|
108
|
+
return obj['__pulumiType'] === DnsRecord.__pulumiType;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.DnsRecord = DnsRecord;
|
|
112
|
+
/** @internal */
|
|
113
|
+
DnsRecord.__pulumiType = 'digitalocean:index/dnsRecord:DnsRecord';
|
|
114
|
+
//# sourceMappingURL=dnsRecord.js.map
|
package/dnsRecord.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dnsRecord.js","sourceRoot":"","sources":["../dnsRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAiFhD,YAAY,IAAY,EAAE,WAA4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c,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;;AA1BL,8BA6HC;AA/GG,gBAAgB;AACO,sBAAY,GAAG,wCAAwC,CAAC"}
|
package/domain.d.ts
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a DigitalOcean domain resource.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
10
|
+
*
|
|
11
|
+
* // Create a new domain
|
|
12
|
+
* const _default = new digitalocean.Domain("default", {
|
|
13
|
+
* name: "example.com",
|
|
14
|
+
* ipAddress: digitalocean_droplet.foo.ipv4_address,
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* Domains can be imported using the `domain name`, e.g.
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import digitalocean:index/domain:Domain mydomain mytestdomain.com
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class Domain extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing Domain resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DomainState, opts?: pulumi.CustomResourceOptions): Domain;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of Domain. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is Domain;
|
|
42
|
+
/**
|
|
43
|
+
* The uniform resource name of the domain
|
|
44
|
+
*/
|
|
45
|
+
readonly domainUrn: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The IP address of the domain. If specified, this IP
|
|
48
|
+
* is used to created an initial A record for the domain.
|
|
49
|
+
*/
|
|
50
|
+
readonly ipAddress: pulumi.Output<string | undefined>;
|
|
51
|
+
/**
|
|
52
|
+
* The name of the domain
|
|
53
|
+
*/
|
|
54
|
+
readonly name: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The TTL value of the domain
|
|
57
|
+
*/
|
|
58
|
+
readonly ttl: pulumi.Output<number>;
|
|
59
|
+
/**
|
|
60
|
+
* Create a Domain resource with the given unique name, arguments, and options.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resource.
|
|
63
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
64
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
65
|
+
*/
|
|
66
|
+
constructor(name: string, args: DomainArgs, opts?: pulumi.CustomResourceOptions);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Input properties used for looking up and filtering Domain resources.
|
|
70
|
+
*/
|
|
71
|
+
export interface DomainState {
|
|
72
|
+
/**
|
|
73
|
+
* The uniform resource name of the domain
|
|
74
|
+
*/
|
|
75
|
+
domainUrn?: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The IP address of the domain. If specified, this IP
|
|
78
|
+
* is used to created an initial A record for the domain.
|
|
79
|
+
*/
|
|
80
|
+
ipAddress?: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The name of the domain
|
|
83
|
+
*/
|
|
84
|
+
name?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The TTL value of the domain
|
|
87
|
+
*/
|
|
88
|
+
ttl?: pulumi.Input<number>;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* The set of arguments for constructing a Domain resource.
|
|
92
|
+
*/
|
|
93
|
+
export interface DomainArgs {
|
|
94
|
+
/**
|
|
95
|
+
* The IP address of the domain. If specified, this IP
|
|
96
|
+
* is used to created an initial A record for the domain.
|
|
97
|
+
*/
|
|
98
|
+
ipAddress?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The name of the domain
|
|
101
|
+
*/
|
|
102
|
+
name: pulumi.Input<string>;
|
|
103
|
+
}
|
package/domain.js
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("./utilities");
|
|
7
|
+
/**
|
|
8
|
+
* Provides a DigitalOcean domain resource.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
15
|
+
*
|
|
16
|
+
* // Create a new domain
|
|
17
|
+
* const _default = new digitalocean.Domain("default", {
|
|
18
|
+
* name: "example.com",
|
|
19
|
+
* ipAddress: digitalocean_droplet.foo.ipv4_address,
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* Domains can be imported using the `domain name`, e.g.
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import digitalocean:index/domain:Domain mydomain mytestdomain.com
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
class Domain extends pulumi.CustomResource {
|
|
32
|
+
constructor(name, argsOrState, opts) {
|
|
33
|
+
let inputs = {};
|
|
34
|
+
opts = opts || {};
|
|
35
|
+
if (opts.id) {
|
|
36
|
+
const state = argsOrState;
|
|
37
|
+
inputs["domainUrn"] = state ? state.domainUrn : undefined;
|
|
38
|
+
inputs["ipAddress"] = state ? state.ipAddress : undefined;
|
|
39
|
+
inputs["name"] = state ? state.name : undefined;
|
|
40
|
+
inputs["ttl"] = state ? state.ttl : undefined;
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
const args = argsOrState;
|
|
44
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'name'");
|
|
46
|
+
}
|
|
47
|
+
inputs["ipAddress"] = args ? args.ipAddress : undefined;
|
|
48
|
+
inputs["name"] = args ? args.name : undefined;
|
|
49
|
+
inputs["domainUrn"] = undefined /*out*/;
|
|
50
|
+
inputs["ttl"] = undefined /*out*/;
|
|
51
|
+
}
|
|
52
|
+
if (!opts.version) {
|
|
53
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
54
|
+
}
|
|
55
|
+
super(Domain.__pulumiType, name, inputs, opts);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Get an existing Domain resource's state with the given name, ID, and optional extra
|
|
59
|
+
* properties used to qualify the lookup.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resulting resource.
|
|
62
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
63
|
+
* @param state Any extra arguments used during the lookup.
|
|
64
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
65
|
+
*/
|
|
66
|
+
static get(name, id, state, opts) {
|
|
67
|
+
return new Domain(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Returns true if the given object is an instance of Domain. This is designed to work even
|
|
71
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
72
|
+
*/
|
|
73
|
+
static isInstance(obj) {
|
|
74
|
+
if (obj === undefined || obj === null) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
return obj['__pulumiType'] === Domain.__pulumiType;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.Domain = Domain;
|
|
81
|
+
/** @internal */
|
|
82
|
+
Domain.__pulumiType = 'digitalocean:index/domain:Domain';
|
|
83
|
+
//# sourceMappingURL=domain.js.map
|
package/domain.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../domain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAsD7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACjD;aAAM;YACH,MAAM,IAAI,GAAG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