@pulumi/digitalocean 4.56.0-alpha.1766426892 → 4.56.0-alpha.1766428645
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/app.d.ts +12 -0
- package/app.js +2 -0
- package/app.js.map +1 -1
- package/byoipPrefix.d.ts +148 -0
- package/byoipPrefix.js +101 -0
- package/byoipPrefix.js.map +1 -0
- package/containerRegistries.d.ts +53 -0
- package/containerRegistries.js +64 -0
- package/containerRegistries.js.map +1 -0
- package/databaseLogsinkOpensearch.d.ts +246 -0
- package/databaseLogsinkOpensearch.js +192 -0
- package/databaseLogsinkOpensearch.js.map +1 -0
- package/databaseLogsinkRsyslog.d.ts +286 -0
- package/databaseLogsinkRsyslog.js +192 -0
- package/databaseLogsinkRsyslog.js.map +1 -0
- package/getByoipPrefix.d.ts +122 -0
- package/getByoipPrefix.js +90 -0
- package/getByoipPrefix.js.map +1 -0
- package/getByoipPrefixResources.d.ts +94 -0
- package/getByoipPrefixResources.js +80 -0
- package/getByoipPrefixResources.js.map +1 -0
- package/getContainerRegistries.d.ts +31 -0
- package/getContainerRegistries.js +22 -0
- package/getContainerRegistries.js.map +1 -0
- package/getKubernetesCluster.d.ts +6 -0
- package/getKubernetesCluster.js +4 -0
- package/getKubernetesCluster.js.map +1 -1
- package/getNfs.d.ts +97 -0
- package/getNfs.js +58 -0
- package/getNfs.js.map +1 -0
- package/getNfsSnapshot.d.ts +58 -0
- package/getNfsSnapshot.js +42 -0
- package/getNfsSnapshot.js.map +1 -0
- package/index.d.ts +36 -0
- package/index.js +55 -4
- package/index.js.map +1 -1
- package/kubernetesCluster.d.ts +15 -0
- package/kubernetesCluster.js +4 -0
- package/kubernetesCluster.js.map +1 -1
- package/nfs.d.ts +142 -0
- package/nfs.js +103 -0
- package/nfs.js.map +1 -0
- package/nfsAttachment.d.ts +96 -0
- package/nfsAttachment.js +95 -0
- package/nfsAttachment.js.map +1 -0
- package/nfsSnapshot.d.ts +124 -0
- package/nfsSnapshot.js +99 -0
- package/nfsSnapshot.js.map +1 -0
- package/package.json +2 -2
- package/types/input.d.ts +25 -0
- package/types/output.d.ts +37 -0
package/app.d.ts
CHANGED
|
@@ -176,6 +176,10 @@ export declare class App extends pulumi.CustomResource {
|
|
|
176
176
|
* The default URL to access the app.
|
|
177
177
|
*/
|
|
178
178
|
readonly defaultIngress: pulumi.Output<string>;
|
|
179
|
+
/**
|
|
180
|
+
* (Optional) Controls how many deployments are requested per API page when listing deployments during create/update waits. Defaults to `20`. Reduce this value (for example `5`) if you experience API timeouts when listing deployments.
|
|
181
|
+
*/
|
|
182
|
+
readonly deploymentPerPage: pulumi.Output<number | undefined>;
|
|
179
183
|
/**
|
|
180
184
|
* The live domain of the app.
|
|
181
185
|
*/
|
|
@@ -233,6 +237,10 @@ export interface AppState {
|
|
|
233
237
|
* The default URL to access the app.
|
|
234
238
|
*/
|
|
235
239
|
defaultIngress?: pulumi.Input<string>;
|
|
240
|
+
/**
|
|
241
|
+
* (Optional) Controls how many deployments are requested per API page when listing deployments during create/update waits. Defaults to `20`. Reduce this value (for example `5`) if you experience API timeouts when listing deployments.
|
|
242
|
+
*/
|
|
243
|
+
deploymentPerPage?: pulumi.Input<number>;
|
|
236
244
|
/**
|
|
237
245
|
* The live domain of the app.
|
|
238
246
|
*/
|
|
@@ -266,6 +274,10 @@ export interface AppArgs {
|
|
|
266
274
|
* The dedicated egress IP addresses associated with the app.
|
|
267
275
|
*/
|
|
268
276
|
dedicatedIps?: pulumi.Input<pulumi.Input<inputs.AppDedicatedIp>[]>;
|
|
277
|
+
/**
|
|
278
|
+
* (Optional) Controls how many deployments are requested per API page when listing deployments during create/update waits. Defaults to `20`. Reduce this value (for example `5`) if you experience API timeouts when listing deployments.
|
|
279
|
+
*/
|
|
280
|
+
deploymentPerPage?: pulumi.Input<number>;
|
|
269
281
|
/**
|
|
270
282
|
* The ID of the project that the app is assigned to.
|
|
271
283
|
*
|
package/app.js
CHANGED
|
@@ -177,6 +177,7 @@ class App extends pulumi.CustomResource {
|
|
|
177
177
|
resourceInputs["createdAt"] = state?.createdAt;
|
|
178
178
|
resourceInputs["dedicatedIps"] = state?.dedicatedIps;
|
|
179
179
|
resourceInputs["defaultIngress"] = state?.defaultIngress;
|
|
180
|
+
resourceInputs["deploymentPerPage"] = state?.deploymentPerPage;
|
|
180
181
|
resourceInputs["liveDomain"] = state?.liveDomain;
|
|
181
182
|
resourceInputs["liveUrl"] = state?.liveUrl;
|
|
182
183
|
resourceInputs["projectId"] = state?.projectId;
|
|
@@ -186,6 +187,7 @@ class App extends pulumi.CustomResource {
|
|
|
186
187
|
else {
|
|
187
188
|
const args = argsOrState;
|
|
188
189
|
resourceInputs["dedicatedIps"] = args?.dedicatedIps;
|
|
190
|
+
resourceInputs["deploymentPerPage"] = args?.deploymentPerPage;
|
|
189
191
|
resourceInputs["projectId"] = args?.projectId;
|
|
190
192
|
resourceInputs["spec"] = args?.spec;
|
|
191
193
|
resourceInputs["activeDeploymentId"] = undefined /*out*/;
|
package/app.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.js","sourceRoot":"","sources":["../app.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0IG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAA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CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AArHL,kBAsHC;AAxGG,gBAAgB;AACO,gBAAY,GAAG,4BAA4B,CAAC"}
|
package/byoipPrefix.d.ts
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a DigitalOcean BYOIP (Bring Your Own IP) prefix resource. This can be used to
|
|
4
|
+
* create, modify, and delete BYOIP prefixes.
|
|
5
|
+
*
|
|
6
|
+
* BYOIP prefixes allow you to bring your own IP address space to DigitalOcean. You can
|
|
7
|
+
* use this feature to maintain your IP reputation or meet specific compliance requirements.
|
|
8
|
+
*
|
|
9
|
+
* BYOIP prefix provisioning documentation: https://docs.digitalocean.com/products/networking/reserved-ips/how-to/provision-byoip/
|
|
10
|
+
*
|
|
11
|
+
* Note: By default, newly provisioned BYOIP prefixes are not advertised to the internet. After the initial `pulumi up`, BYOIP provisioning request is initiated and DigitalOcean provisions the prefix, the prefix status changes to Active. At this point, you can initiate advertising prefix to the internet by setting field `advertised = true` and apply the configuration to make your prefix fully usable and accessible from the internet.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
18
|
+
*
|
|
19
|
+
* // Create a new BYOIP prefix
|
|
20
|
+
* const example = new digitalocean.ByoipPrefix("example", {
|
|
21
|
+
* prefix: "192.0.2.0/24",
|
|
22
|
+
* signature: prefixSignature,
|
|
23
|
+
* region: "nyc3",
|
|
24
|
+
* advertised: false,
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* BYOIP prefixes can be imported using the prefix `uuid`, e.g.
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import digitalocean:index/byoipPrefix:ByoipPrefix example 506f78a4-e098-11e5-ad9f-000f53306ae1
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare class ByoipPrefix extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing ByoipPrefix resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ByoipPrefixState, opts?: pulumi.CustomResourceOptions): ByoipPrefix;
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of ByoipPrefix. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj: any): obj is ByoipPrefix;
|
|
52
|
+
/**
|
|
53
|
+
* A boolean indicating whether the prefix should be advertised.
|
|
54
|
+
* Defaults to `false`.
|
|
55
|
+
*/
|
|
56
|
+
readonly advertised: pulumi.Output<boolean | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* The reason for failure if the status is "failed".
|
|
59
|
+
*/
|
|
60
|
+
readonly failureReason: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The CIDR notation of the prefix (e.g., "192.0.2.0/24").
|
|
63
|
+
*/
|
|
64
|
+
readonly prefix: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The DigitalOcean region where the prefix will be deployed.
|
|
67
|
+
*/
|
|
68
|
+
readonly region: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The cryptographic signature proving ownership of the prefix.
|
|
71
|
+
* This is required during creation but can be omitted in subsequent updates.
|
|
72
|
+
*/
|
|
73
|
+
readonly signature: pulumi.Output<string | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* The current status of the BYOIP prefix (e.g., "verified", "pending", "failed").
|
|
76
|
+
*/
|
|
77
|
+
readonly status: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The UUID of the BYOIP prefix.
|
|
80
|
+
*/
|
|
81
|
+
readonly uuid: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Create a ByoipPrefix resource with the given unique name, arguments, and options.
|
|
84
|
+
*
|
|
85
|
+
* @param name The _unique_ name of the resource.
|
|
86
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
87
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
88
|
+
*/
|
|
89
|
+
constructor(name: string, args: ByoipPrefixArgs, opts?: pulumi.CustomResourceOptions);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Input properties used for looking up and filtering ByoipPrefix resources.
|
|
93
|
+
*/
|
|
94
|
+
export interface ByoipPrefixState {
|
|
95
|
+
/**
|
|
96
|
+
* A boolean indicating whether the prefix should be advertised.
|
|
97
|
+
* Defaults to `false`.
|
|
98
|
+
*/
|
|
99
|
+
advertised?: pulumi.Input<boolean>;
|
|
100
|
+
/**
|
|
101
|
+
* The reason for failure if the status is "failed".
|
|
102
|
+
*/
|
|
103
|
+
failureReason?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The CIDR notation of the prefix (e.g., "192.0.2.0/24").
|
|
106
|
+
*/
|
|
107
|
+
prefix?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The DigitalOcean region where the prefix will be deployed.
|
|
110
|
+
*/
|
|
111
|
+
region?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The cryptographic signature proving ownership of the prefix.
|
|
114
|
+
* This is required during creation but can be omitted in subsequent updates.
|
|
115
|
+
*/
|
|
116
|
+
signature?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* The current status of the BYOIP prefix (e.g., "verified", "pending", "failed").
|
|
119
|
+
*/
|
|
120
|
+
status?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* The UUID of the BYOIP prefix.
|
|
123
|
+
*/
|
|
124
|
+
uuid?: pulumi.Input<string>;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* The set of arguments for constructing a ByoipPrefix resource.
|
|
128
|
+
*/
|
|
129
|
+
export interface ByoipPrefixArgs {
|
|
130
|
+
/**
|
|
131
|
+
* A boolean indicating whether the prefix should be advertised.
|
|
132
|
+
* Defaults to `false`.
|
|
133
|
+
*/
|
|
134
|
+
advertised?: pulumi.Input<boolean>;
|
|
135
|
+
/**
|
|
136
|
+
* The CIDR notation of the prefix (e.g., "192.0.2.0/24").
|
|
137
|
+
*/
|
|
138
|
+
prefix: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The DigitalOcean region where the prefix will be deployed.
|
|
141
|
+
*/
|
|
142
|
+
region: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The cryptographic signature proving ownership of the prefix.
|
|
145
|
+
* This is required during creation but can be omitted in subsequent updates.
|
|
146
|
+
*/
|
|
147
|
+
signature?: pulumi.Input<string>;
|
|
148
|
+
}
|
package/byoipPrefix.js
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ByoipPrefix = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a DigitalOcean BYOIP (Bring Your Own IP) prefix resource. This can be used to
|
|
10
|
+
* create, modify, and delete BYOIP prefixes.
|
|
11
|
+
*
|
|
12
|
+
* BYOIP prefixes allow you to bring your own IP address space to DigitalOcean. You can
|
|
13
|
+
* use this feature to maintain your IP reputation or meet specific compliance requirements.
|
|
14
|
+
*
|
|
15
|
+
* BYOIP prefix provisioning documentation: https://docs.digitalocean.com/products/networking/reserved-ips/how-to/provision-byoip/
|
|
16
|
+
*
|
|
17
|
+
* Note: By default, newly provisioned BYOIP prefixes are not advertised to the internet. After the initial `pulumi up`, BYOIP provisioning request is initiated and DigitalOcean provisions the prefix, the prefix status changes to Active. At this point, you can initiate advertising prefix to the internet by setting field `advertised = true` and apply the configuration to make your prefix fully usable and accessible from the internet.
|
|
18
|
+
*
|
|
19
|
+
* ## Example Usage
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
24
|
+
*
|
|
25
|
+
* // Create a new BYOIP prefix
|
|
26
|
+
* const example = new digitalocean.ByoipPrefix("example", {
|
|
27
|
+
* prefix: "192.0.2.0/24",
|
|
28
|
+
* signature: prefixSignature,
|
|
29
|
+
* region: "nyc3",
|
|
30
|
+
* advertised: false,
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## Import
|
|
35
|
+
*
|
|
36
|
+
* BYOIP prefixes can be imported using the prefix `uuid`, e.g.
|
|
37
|
+
*
|
|
38
|
+
* ```sh
|
|
39
|
+
* $ pulumi import digitalocean:index/byoipPrefix:ByoipPrefix example 506f78a4-e098-11e5-ad9f-000f53306ae1
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
class ByoipPrefix extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing ByoipPrefix resource's state with the given name, ID, and optional extra
|
|
45
|
+
* properties used to qualify the lookup.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resulting resource.
|
|
48
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
+
* @param state Any extra arguments used during the lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name, id, state, opts) {
|
|
53
|
+
return new ByoipPrefix(name, state, { ...opts, id: id });
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Returns true if the given object is an instance of ByoipPrefix. This is designed to work even
|
|
57
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
58
|
+
*/
|
|
59
|
+
static isInstance(obj) {
|
|
60
|
+
if (obj === undefined || obj === null) {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
return obj['__pulumiType'] === ByoipPrefix.__pulumiType;
|
|
64
|
+
}
|
|
65
|
+
constructor(name, argsOrState, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (opts.id) {
|
|
69
|
+
const state = argsOrState;
|
|
70
|
+
resourceInputs["advertised"] = state?.advertised;
|
|
71
|
+
resourceInputs["failureReason"] = state?.failureReason;
|
|
72
|
+
resourceInputs["prefix"] = state?.prefix;
|
|
73
|
+
resourceInputs["region"] = state?.region;
|
|
74
|
+
resourceInputs["signature"] = state?.signature;
|
|
75
|
+
resourceInputs["status"] = state?.status;
|
|
76
|
+
resourceInputs["uuid"] = state?.uuid;
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
const args = argsOrState;
|
|
80
|
+
if (args?.prefix === undefined && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'prefix'");
|
|
82
|
+
}
|
|
83
|
+
if (args?.region === undefined && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'region'");
|
|
85
|
+
}
|
|
86
|
+
resourceInputs["advertised"] = args?.advertised;
|
|
87
|
+
resourceInputs["prefix"] = args?.prefix;
|
|
88
|
+
resourceInputs["region"] = args?.region;
|
|
89
|
+
resourceInputs["signature"] = args?.signature;
|
|
90
|
+
resourceInputs["failureReason"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["uuid"] = undefined /*out*/;
|
|
93
|
+
}
|
|
94
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
95
|
+
super(ByoipPrefix.__pulumiType, name, resourceInputs, opts);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.ByoipPrefix = ByoipPrefix;
|
|
99
|
+
/** @internal */
|
|
100
|
+
ByoipPrefix.__pulumiType = 'digitalocean:index/byoipPrefix:ByoipPrefix';
|
|
101
|
+
//# sourceMappingURL=byoipPrefix.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"byoipPrefix.js","sourceRoot":"","sources":["../byoipPrefix.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,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AE,MAAM,CAAC;YACxC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAjGL,kCAkGC;AApFG,gBAAgB;AACO,wBAAY,GAAG,4CAA4C,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class ContainerRegistries extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing ContainerRegistries resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ContainerRegistriesState, opts?: pulumi.CustomResourceOptions): ContainerRegistries;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of ContainerRegistries. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is ContainerRegistries;
|
|
18
|
+
readonly createdAt: pulumi.Output<string>;
|
|
19
|
+
readonly endpoint: pulumi.Output<string>;
|
|
20
|
+
readonly name: pulumi.Output<string>;
|
|
21
|
+
readonly region: pulumi.Output<string>;
|
|
22
|
+
readonly serverUrl: pulumi.Output<string>;
|
|
23
|
+
readonly storageUsageBytes: pulumi.Output<number>;
|
|
24
|
+
readonly subscriptionTierSlug: pulumi.Output<string>;
|
|
25
|
+
/**
|
|
26
|
+
* Create a ContainerRegistries resource with the given unique name, arguments, and options.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resource.
|
|
29
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
30
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
31
|
+
*/
|
|
32
|
+
constructor(name: string, args: ContainerRegistriesArgs, opts?: pulumi.CustomResourceOptions);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Input properties used for looking up and filtering ContainerRegistries resources.
|
|
36
|
+
*/
|
|
37
|
+
export interface ContainerRegistriesState {
|
|
38
|
+
createdAt?: pulumi.Input<string>;
|
|
39
|
+
endpoint?: pulumi.Input<string>;
|
|
40
|
+
name?: pulumi.Input<string>;
|
|
41
|
+
region?: pulumi.Input<string>;
|
|
42
|
+
serverUrl?: pulumi.Input<string>;
|
|
43
|
+
storageUsageBytes?: pulumi.Input<number>;
|
|
44
|
+
subscriptionTierSlug?: pulumi.Input<string>;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* The set of arguments for constructing a ContainerRegistries resource.
|
|
48
|
+
*/
|
|
49
|
+
export interface ContainerRegistriesArgs {
|
|
50
|
+
name?: pulumi.Input<string>;
|
|
51
|
+
region?: pulumi.Input<string>;
|
|
52
|
+
subscriptionTierSlug: pulumi.Input<string>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ContainerRegistries = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class ContainerRegistries extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing ContainerRegistries resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new ContainerRegistries(name, state, { ...opts, id: id });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of ContainerRegistries. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === ContainerRegistries.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
37
|
+
resourceInputs["endpoint"] = state?.endpoint;
|
|
38
|
+
resourceInputs["name"] = state?.name;
|
|
39
|
+
resourceInputs["region"] = state?.region;
|
|
40
|
+
resourceInputs["serverUrl"] = state?.serverUrl;
|
|
41
|
+
resourceInputs["storageUsageBytes"] = state?.storageUsageBytes;
|
|
42
|
+
resourceInputs["subscriptionTierSlug"] = state?.subscriptionTierSlug;
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
const args = argsOrState;
|
|
46
|
+
if (args?.subscriptionTierSlug === undefined && !opts.urn) {
|
|
47
|
+
throw new Error("Missing required property 'subscriptionTierSlug'");
|
|
48
|
+
}
|
|
49
|
+
resourceInputs["name"] = args?.name;
|
|
50
|
+
resourceInputs["region"] = args?.region;
|
|
51
|
+
resourceInputs["subscriptionTierSlug"] = args?.subscriptionTierSlug;
|
|
52
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["endpoint"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["serverUrl"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["storageUsageBytes"] = undefined /*out*/;
|
|
56
|
+
}
|
|
57
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
58
|
+
super(ContainerRegistries.__pulumiType, name, resourceInputs, opts);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.ContainerRegistries = ContainerRegistries;
|
|
62
|
+
/** @internal */
|
|
63
|
+
ContainerRegistries.__pulumiType = 'digitalocean:index/containerRegistries:ContainerRegistries';
|
|
64
|
+
//# sourceMappingURL=containerRegistries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"containerRegistries.js","sourceRoot":"","sources":["../containerRegistries.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAKD;;;OAG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