@pulumi/digitalocean 4.56.0-alpha.1766427629 → 4.56.0

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.
Files changed (51) hide show
  1. package/app.d.ts +12 -0
  2. package/app.js +2 -0
  3. package/app.js.map +1 -1
  4. package/byoipPrefix.d.ts +148 -0
  5. package/byoipPrefix.js +101 -0
  6. package/byoipPrefix.js.map +1 -0
  7. package/containerRegistries.d.ts +53 -0
  8. package/containerRegistries.js +64 -0
  9. package/containerRegistries.js.map +1 -0
  10. package/databaseLogsinkOpensearch.d.ts +246 -0
  11. package/databaseLogsinkOpensearch.js +192 -0
  12. package/databaseLogsinkOpensearch.js.map +1 -0
  13. package/databaseLogsinkRsyslog.d.ts +286 -0
  14. package/databaseLogsinkRsyslog.js +192 -0
  15. package/databaseLogsinkRsyslog.js.map +1 -0
  16. package/getByoipPrefix.d.ts +122 -0
  17. package/getByoipPrefix.js +90 -0
  18. package/getByoipPrefix.js.map +1 -0
  19. package/getByoipPrefixResources.d.ts +94 -0
  20. package/getByoipPrefixResources.js +80 -0
  21. package/getByoipPrefixResources.js.map +1 -0
  22. package/getContainerRegistries.d.ts +31 -0
  23. package/getContainerRegistries.js +22 -0
  24. package/getContainerRegistries.js.map +1 -0
  25. package/getKubernetesCluster.d.ts +6 -0
  26. package/getKubernetesCluster.js +4 -0
  27. package/getKubernetesCluster.js.map +1 -1
  28. package/getNfs.d.ts +97 -0
  29. package/getNfs.js +58 -0
  30. package/getNfs.js.map +1 -0
  31. package/getNfsSnapshot.d.ts +58 -0
  32. package/getNfsSnapshot.js +42 -0
  33. package/getNfsSnapshot.js.map +1 -0
  34. package/index.d.ts +36 -0
  35. package/index.js +55 -4
  36. package/index.js.map +1 -1
  37. package/kubernetesCluster.d.ts +15 -0
  38. package/kubernetesCluster.js +4 -0
  39. package/kubernetesCluster.js.map +1 -1
  40. package/nfs.d.ts +142 -0
  41. package/nfs.js +103 -0
  42. package/nfs.js.map +1 -0
  43. package/nfsAttachment.d.ts +96 -0
  44. package/nfsAttachment.js +95 -0
  45. package/nfsAttachment.js.map +1 -0
  46. package/nfsSnapshot.d.ts +124 -0
  47. package/nfsSnapshot.js +99 -0
  48. package/nfsSnapshot.js.map +1 -0
  49. package/package.json +2 -2
  50. package/types/input.d.ts +25 -0
  51. package/types/output.d.ts +37 -0
@@ -0,0 +1,90 @@
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.getByoipPrefixOutput = exports.getByoipPrefix = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * Get the BYOIP prefix:
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as digitalocean from "@pulumi/digitalocean";
16
+ *
17
+ * const example = digitalocean.getByoipPrefix({
18
+ * uuid: "506f78a4-e098-11e5-ad9f-000f53306ae1",
19
+ * });
20
+ * ```
21
+ *
22
+ * List assigned IP addresses from a BYOIP prefix:
23
+ *
24
+ * ```typescript
25
+ * import * as pulumi from "@pulumi/pulumi";
26
+ * import * as digitalocean from "@pulumi/digitalocean";
27
+ *
28
+ * const example = digitalocean.getByoipPrefix({
29
+ * uuid: "506f78a4-e098-11e5-ad9f-000f53306ae1",
30
+ * });
31
+ * const exampleGetByoipPrefixResources = example.then(example => digitalocean.getByoipPrefixResources({
32
+ * byoipPrefixUuid: example.uuid,
33
+ * }));
34
+ * export const byoipInfo = {
35
+ * prefix: example.then(example => example.prefix),
36
+ * region: example.then(example => example.region),
37
+ * status: example.then(example => example.status),
38
+ * assignedCount: exampleGetByoipPrefixResources.then(exampleGetByoipPrefixResources => exampleGetByoipPrefixResources.addresses).length,
39
+ * };
40
+ * ```
41
+ */
42
+ function getByoipPrefix(args, opts) {
43
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
44
+ return pulumi.runtime.invoke("digitalocean:index/getByoipPrefix:getByoipPrefix", {
45
+ "uuid": args.uuid,
46
+ }, opts);
47
+ }
48
+ exports.getByoipPrefix = getByoipPrefix;
49
+ /**
50
+ * ## Example Usage
51
+ *
52
+ * Get the BYOIP prefix:
53
+ *
54
+ * ```typescript
55
+ * import * as pulumi from "@pulumi/pulumi";
56
+ * import * as digitalocean from "@pulumi/digitalocean";
57
+ *
58
+ * const example = digitalocean.getByoipPrefix({
59
+ * uuid: "506f78a4-e098-11e5-ad9f-000f53306ae1",
60
+ * });
61
+ * ```
62
+ *
63
+ * List assigned IP addresses from a BYOIP prefix:
64
+ *
65
+ * ```typescript
66
+ * import * as pulumi from "@pulumi/pulumi";
67
+ * import * as digitalocean from "@pulumi/digitalocean";
68
+ *
69
+ * const example = digitalocean.getByoipPrefix({
70
+ * uuid: "506f78a4-e098-11e5-ad9f-000f53306ae1",
71
+ * });
72
+ * const exampleGetByoipPrefixResources = example.then(example => digitalocean.getByoipPrefixResources({
73
+ * byoipPrefixUuid: example.uuid,
74
+ * }));
75
+ * export const byoipInfo = {
76
+ * prefix: example.then(example => example.prefix),
77
+ * region: example.then(example => example.region),
78
+ * status: example.then(example => example.status),
79
+ * assignedCount: exampleGetByoipPrefixResources.then(exampleGetByoipPrefixResources => exampleGetByoipPrefixResources.addresses).length,
80
+ * };
81
+ * ```
82
+ */
83
+ function getByoipPrefixOutput(args, opts) {
84
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
85
+ return pulumi.runtime.invokeOutput("digitalocean:index/getByoipPrefix:getByoipPrefix", {
86
+ "uuid": args.uuid,
87
+ }, opts);
88
+ }
89
+ exports.getByoipPrefixOutput = getByoipPrefixOutput;
90
+ //# sourceMappingURL=getByoipPrefix.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getByoipPrefix.js","sourceRoot":"","sources":["../getByoipPrefix.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC;AA6CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE;QACnF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC"}
@@ -0,0 +1,94 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Get information about IP addresses that have been **already assigned** from a
5
+ * BYOIP (Bring Your Own IP) prefix. This data source provides a list of all IP addresses
6
+ * that are currently assigned to resources from a specific BYOIP prefix.
7
+ *
8
+ * **Note:** This data source only lists IPs that are already assigned to resources (like Droplets).
9
+ * To allocate new IPs from the BYOIP prefix, you need to use `digitalocean.ReservedIpAssignment` resource.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * List all assigned IP addresses from a BYOIP prefix:
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as digitalocean from "@pulumi/digitalocean";
18
+ *
19
+ * const example = digitalocean.getByoipPrefix({
20
+ * uuid: "506f78a4-e098-11e5-ad9f-000f53306ae1",
21
+ * });
22
+ * const exampleGetByoipPrefixResources = example.then(example => digitalocean.getByoipPrefixResources({
23
+ * byoipPrefixUuid: example.uuid,
24
+ * }));
25
+ * export const assignedByoipIps = exampleGetByoipPrefixResources.then(exampleGetByoipPrefixResources => .map(addr => ({
26
+ * ip: addr.ipAddress,
27
+ * region: addr.region,
28
+ * assigned: addr.assignedAt,
29
+ * })));
30
+ * ```
31
+ */
32
+ export declare function getByoipPrefixResources(args: GetByoipPrefixResourcesArgs, opts?: pulumi.InvokeOptions): Promise<GetByoipPrefixResourcesResult>;
33
+ /**
34
+ * A collection of arguments for invoking getByoipPrefixResources.
35
+ */
36
+ export interface GetByoipPrefixResourcesArgs {
37
+ /**
38
+ * The UUID of the BYOIP prefix to list addresses from.
39
+ */
40
+ byoipPrefixUuid: string;
41
+ }
42
+ /**
43
+ * A collection of values returned by getByoipPrefixResources.
44
+ */
45
+ export interface GetByoipPrefixResourcesResult {
46
+ /**
47
+ * A list of IP addresses allocated from the BYOIP prefix. Each address has the following attributes:
48
+ */
49
+ readonly addresses: outputs.GetByoipPrefixResourcesAddress[];
50
+ readonly byoipPrefixUuid: string;
51
+ /**
52
+ * The provider-assigned unique ID for this managed resource.
53
+ */
54
+ readonly id: string;
55
+ }
56
+ /**
57
+ * Get information about IP addresses that have been **already assigned** from a
58
+ * BYOIP (Bring Your Own IP) prefix. This data source provides a list of all IP addresses
59
+ * that are currently assigned to resources from a specific BYOIP prefix.
60
+ *
61
+ * **Note:** This data source only lists IPs that are already assigned to resources (like Droplets).
62
+ * To allocate new IPs from the BYOIP prefix, you need to use `digitalocean.ReservedIpAssignment` resource.
63
+ *
64
+ * ## Example Usage
65
+ *
66
+ * List all assigned IP addresses from a BYOIP prefix:
67
+ *
68
+ * ```typescript
69
+ * import * as pulumi from "@pulumi/pulumi";
70
+ * import * as digitalocean from "@pulumi/digitalocean";
71
+ *
72
+ * const example = digitalocean.getByoipPrefix({
73
+ * uuid: "506f78a4-e098-11e5-ad9f-000f53306ae1",
74
+ * });
75
+ * const exampleGetByoipPrefixResources = example.then(example => digitalocean.getByoipPrefixResources({
76
+ * byoipPrefixUuid: example.uuid,
77
+ * }));
78
+ * export const assignedByoipIps = exampleGetByoipPrefixResources.then(exampleGetByoipPrefixResources => .map(addr => ({
79
+ * ip: addr.ipAddress,
80
+ * region: addr.region,
81
+ * assigned: addr.assignedAt,
82
+ * })));
83
+ * ```
84
+ */
85
+ export declare function getByoipPrefixResourcesOutput(args: GetByoipPrefixResourcesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetByoipPrefixResourcesResult>;
86
+ /**
87
+ * A collection of arguments for invoking getByoipPrefixResources.
88
+ */
89
+ export interface GetByoipPrefixResourcesOutputArgs {
90
+ /**
91
+ * The UUID of the BYOIP prefix to list addresses from.
92
+ */
93
+ byoipPrefixUuid: pulumi.Input<string>;
94
+ }
@@ -0,0 +1,80 @@
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.getByoipPrefixResourcesOutput = exports.getByoipPrefixResources = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Get information about IP addresses that have been **already assigned** from a
10
+ * BYOIP (Bring Your Own IP) prefix. This data source provides a list of all IP addresses
11
+ * that are currently assigned to resources from a specific BYOIP prefix.
12
+ *
13
+ * **Note:** This data source only lists IPs that are already assigned to resources (like Droplets).
14
+ * To allocate new IPs from the BYOIP prefix, you need to use `digitalocean.ReservedIpAssignment` resource.
15
+ *
16
+ * ## Example Usage
17
+ *
18
+ * List all assigned IP addresses from a BYOIP prefix:
19
+ *
20
+ * ```typescript
21
+ * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as digitalocean from "@pulumi/digitalocean";
23
+ *
24
+ * const example = digitalocean.getByoipPrefix({
25
+ * uuid: "506f78a4-e098-11e5-ad9f-000f53306ae1",
26
+ * });
27
+ * const exampleGetByoipPrefixResources = example.then(example => digitalocean.getByoipPrefixResources({
28
+ * byoipPrefixUuid: example.uuid,
29
+ * }));
30
+ * export const assignedByoipIps = exampleGetByoipPrefixResources.then(exampleGetByoipPrefixResources => .map(addr => ({
31
+ * ip: addr.ipAddress,
32
+ * region: addr.region,
33
+ * assigned: addr.assignedAt,
34
+ * })));
35
+ * ```
36
+ */
37
+ function getByoipPrefixResources(args, opts) {
38
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
39
+ return pulumi.runtime.invoke("digitalocean:index/getByoipPrefixResources:getByoipPrefixResources", {
40
+ "byoipPrefixUuid": args.byoipPrefixUuid,
41
+ }, opts);
42
+ }
43
+ exports.getByoipPrefixResources = getByoipPrefixResources;
44
+ /**
45
+ * Get information about IP addresses that have been **already assigned** from a
46
+ * BYOIP (Bring Your Own IP) prefix. This data source provides a list of all IP addresses
47
+ * that are currently assigned to resources from a specific BYOIP prefix.
48
+ *
49
+ * **Note:** This data source only lists IPs that are already assigned to resources (like Droplets).
50
+ * To allocate new IPs from the BYOIP prefix, you need to use `digitalocean.ReservedIpAssignment` resource.
51
+ *
52
+ * ## Example Usage
53
+ *
54
+ * List all assigned IP addresses from a BYOIP prefix:
55
+ *
56
+ * ```typescript
57
+ * import * as pulumi from "@pulumi/pulumi";
58
+ * import * as digitalocean from "@pulumi/digitalocean";
59
+ *
60
+ * const example = digitalocean.getByoipPrefix({
61
+ * uuid: "506f78a4-e098-11e5-ad9f-000f53306ae1",
62
+ * });
63
+ * const exampleGetByoipPrefixResources = example.then(example => digitalocean.getByoipPrefixResources({
64
+ * byoipPrefixUuid: example.uuid,
65
+ * }));
66
+ * export const assignedByoipIps = exampleGetByoipPrefixResources.then(exampleGetByoipPrefixResources => .map(addr => ({
67
+ * ip: addr.ipAddress,
68
+ * region: addr.region,
69
+ * assigned: addr.assignedAt,
70
+ * })));
71
+ * ```
72
+ */
73
+ function getByoipPrefixResourcesOutput(args, opts) {
74
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
75
+ return pulumi.runtime.invokeOutput("digitalocean:index/getByoipPrefixResources:getByoipPrefixResources", {
76
+ "byoipPrefixUuid": args.byoipPrefixUuid,
77
+ }, opts);
78
+ }
79
+ exports.getByoipPrefixResourcesOutput = getByoipPrefixResourcesOutput;
80
+ //# sourceMappingURL=getByoipPrefixResources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getByoipPrefixResources.js","sourceRoot":"","sources":["../getByoipPrefixResources.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,EAAE;QAC/F,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0DAKC;AA0BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAAiC;IACpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oEAAoE,EAAE;QACrG,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sEAKC"}
@@ -0,0 +1,31 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare function getContainerRegistries(args: GetContainerRegistriesArgs, opts?: pulumi.InvokeOptions): Promise<GetContainerRegistriesResult>;
3
+ /**
4
+ * A collection of arguments for invoking getContainerRegistries.
5
+ */
6
+ export interface GetContainerRegistriesArgs {
7
+ name: string;
8
+ }
9
+ /**
10
+ * A collection of values returned by getContainerRegistries.
11
+ */
12
+ export interface GetContainerRegistriesResult {
13
+ readonly createdAt: string;
14
+ readonly endpoint: string;
15
+ /**
16
+ * The provider-assigned unique ID for this managed resource.
17
+ */
18
+ readonly id: string;
19
+ readonly name: string;
20
+ readonly region: string;
21
+ readonly serverUrl: string;
22
+ readonly storageUsageBytes: number;
23
+ readonly subscriptionTierSlug: string;
24
+ }
25
+ export declare function getContainerRegistriesOutput(args: GetContainerRegistriesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetContainerRegistriesResult>;
26
+ /**
27
+ * A collection of arguments for invoking getContainerRegistries.
28
+ */
29
+ export interface GetContainerRegistriesOutputArgs {
30
+ name: pulumi.Input<string>;
31
+ }
@@ -0,0 +1,22 @@
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.getContainerRegistriesOutput = exports.getContainerRegistries = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getContainerRegistries(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("digitalocean:index/getContainerRegistries:getContainerRegistries", {
11
+ "name": args.name,
12
+ }, opts);
13
+ }
14
+ exports.getContainerRegistries = getContainerRegistries;
15
+ function getContainerRegistriesOutput(args, opts) {
16
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
17
+ return pulumi.runtime.invokeOutput("digitalocean:index/getContainerRegistries:getContainerRegistries", {
18
+ "name": args.name,
19
+ }, opts);
20
+ }
21
+ exports.getContainerRegistriesOutput = getContainerRegistriesOutput;
22
+ //# sourceMappingURL=getContainerRegistries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getContainerRegistries.js","sourceRoot":"","sources":["../getContainerRegistries.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wDAKC;AAyBD,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAAiC;IAClH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kEAAkE,EAAE;QACnG,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oEAKC"}
@@ -28,6 +28,8 @@ export interface GetKubernetesClusterArgs {
28
28
  * The name of Kubernetes cluster.
29
29
  */
30
30
  name: string;
31
+ nvidiaGpuDevicePlugin?: inputs.GetKubernetesClusterNvidiaGpuDevicePlugin;
32
+ rdmaSharedDevicePlugin?: inputs.GetKubernetesClusterRdmaSharedDevicePlugin;
31
33
  routingAgent?: inputs.GetKubernetesClusterRoutingAgent;
32
34
  /**
33
35
  * A list of tag names applied to the node pool.
@@ -84,6 +86,8 @@ export interface GetKubernetesClusterResult {
84
86
  * A list of node pools associated with the cluster. Each node pool exports the following attributes:
85
87
  */
86
88
  readonly nodePools: outputs.GetKubernetesClusterNodePool[];
89
+ readonly nvidiaGpuDevicePlugin: outputs.GetKubernetesClusterNvidiaGpuDevicePlugin;
90
+ readonly rdmaSharedDevicePlugin: outputs.GetKubernetesClusterRdmaSharedDevicePlugin;
87
91
  /**
88
92
  * The slug identifier for the region where the Kubernetes cluster is located.
89
93
  */
@@ -146,6 +150,8 @@ export interface GetKubernetesClusterOutputArgs {
146
150
  * The name of Kubernetes cluster.
147
151
  */
148
152
  name: pulumi.Input<string>;
153
+ nvidiaGpuDevicePlugin?: pulumi.Input<inputs.GetKubernetesClusterNvidiaGpuDevicePluginArgs>;
154
+ rdmaSharedDevicePlugin?: pulumi.Input<inputs.GetKubernetesClusterRdmaSharedDevicePluginArgs>;
149
155
  routingAgent?: pulumi.Input<inputs.GetKubernetesClusterRoutingAgentArgs>;
150
156
  /**
151
157
  * A list of tag names applied to the node pool.
@@ -27,6 +27,8 @@ function getKubernetesCluster(args, opts) {
27
27
  "clusterAutoscalerConfigurations": args.clusterAutoscalerConfigurations,
28
28
  "kubeconfigExpireSeconds": args.kubeconfigExpireSeconds,
29
29
  "name": args.name,
30
+ "nvidiaGpuDevicePlugin": args.nvidiaGpuDevicePlugin,
31
+ "rdmaSharedDevicePlugin": args.rdmaSharedDevicePlugin,
30
32
  "routingAgent": args.routingAgent,
31
33
  "tags": args.tags,
32
34
  }, opts);
@@ -54,6 +56,8 @@ function getKubernetesClusterOutput(args, opts) {
54
56
  "clusterAutoscalerConfigurations": args.clusterAutoscalerConfigurations,
55
57
  "kubeconfigExpireSeconds": args.kubeconfigExpireSeconds,
56
58
  "name": args.name,
59
+ "nvidiaGpuDevicePlugin": args.nvidiaGpuDevicePlugin,
60
+ "rdmaSharedDevicePlugin": args.rdmaSharedDevicePlugin,
57
61
  "routingAgent": args.routingAgent,
58
62
  "tags": args.tags,
59
63
  }, opts);
@@ -1 +1 @@
1
- {"version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AAI,CAAC,uBAAuB;QACvD,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,gEAaC"}
package/getNfs.d.ts ADDED
@@ -0,0 +1,97 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Get information about a DigitalOcean NFS share.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * Get the NFS share by name and region:
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as digitalocean from "@pulumi/digitalocean";
12
+ *
13
+ * const example = digitalocean.getNfs({
14
+ * name: "example-nfs",
15
+ * region: "nyc1",
16
+ * });
17
+ * ```
18
+ */
19
+ export declare function getNfs(args: GetNfsArgs, opts?: pulumi.InvokeOptions): Promise<GetNfsResult>;
20
+ /**
21
+ * A collection of arguments for invoking getNfs.
22
+ */
23
+ export interface GetNfsArgs {
24
+ /**
25
+ * The name of the NFS share.
26
+ */
27
+ name: string;
28
+ /**
29
+ * The region where the NFS share is located.
30
+ */
31
+ region?: string;
32
+ }
33
+ /**
34
+ * A collection of values returned by getNfs.
35
+ */
36
+ export interface GetNfsResult {
37
+ /**
38
+ * The host IP of the NFS server accessible from the associated VPC.
39
+ */
40
+ readonly host: string;
41
+ /**
42
+ * The provider-assigned unique ID for this managed resource.
43
+ */
44
+ readonly id: string;
45
+ /**
46
+ * The mount path for accessing the NFS share.
47
+ */
48
+ readonly mountPath: string;
49
+ /**
50
+ * Name of the NFS share.
51
+ */
52
+ readonly name: string;
53
+ /**
54
+ * The region where the NFS share is located.
55
+ */
56
+ readonly region?: string;
57
+ /**
58
+ * The size of the NFS share in GiB.
59
+ */
60
+ readonly size: number;
61
+ /**
62
+ * The current status of the NFS share.
63
+ */
64
+ readonly status: string;
65
+ readonly tags: string[];
66
+ }
67
+ /**
68
+ * Get information about a DigitalOcean NFS share.
69
+ *
70
+ * ## Example Usage
71
+ *
72
+ * Get the NFS share by name and region:
73
+ *
74
+ * ```typescript
75
+ * import * as pulumi from "@pulumi/pulumi";
76
+ * import * as digitalocean from "@pulumi/digitalocean";
77
+ *
78
+ * const example = digitalocean.getNfs({
79
+ * name: "example-nfs",
80
+ * region: "nyc1",
81
+ * });
82
+ * ```
83
+ */
84
+ export declare function getNfsOutput(args: GetNfsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNfsResult>;
85
+ /**
86
+ * A collection of arguments for invoking getNfs.
87
+ */
88
+ export interface GetNfsOutputArgs {
89
+ /**
90
+ * The name of the NFS share.
91
+ */
92
+ name: pulumi.Input<string>;
93
+ /**
94
+ * The region where the NFS share is located.
95
+ */
96
+ region?: pulumi.Input<string>;
97
+ }
package/getNfs.js ADDED
@@ -0,0 +1,58 @@
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.getNfsOutput = exports.getNfs = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Get information about a DigitalOcean NFS share.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * Get the NFS share by name and region:
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as digitalocean from "@pulumi/digitalocean";
18
+ *
19
+ * const example = digitalocean.getNfs({
20
+ * name: "example-nfs",
21
+ * region: "nyc1",
22
+ * });
23
+ * ```
24
+ */
25
+ function getNfs(args, opts) {
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
27
+ return pulumi.runtime.invoke("digitalocean:index/getNfs:getNfs", {
28
+ "name": args.name,
29
+ "region": args.region,
30
+ }, opts);
31
+ }
32
+ exports.getNfs = getNfs;
33
+ /**
34
+ * Get information about a DigitalOcean NFS share.
35
+ *
36
+ * ## Example Usage
37
+ *
38
+ * Get the NFS share by name and region:
39
+ *
40
+ * ```typescript
41
+ * import * as pulumi from "@pulumi/pulumi";
42
+ * import * as digitalocean from "@pulumi/digitalocean";
43
+ *
44
+ * const example = digitalocean.getNfs({
45
+ * name: "example-nfs",
46
+ * region: "nyc1",
47
+ * });
48
+ * ```
49
+ */
50
+ function getNfsOutput(args, opts) {
51
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
52
+ return pulumi.runtime.invokeOutput("digitalocean:index/getNfs:getNfs", {
53
+ "name": args.name,
54
+ "region": args.region,
55
+ }, opts);
56
+ }
57
+ exports.getNfsOutput = getNfsOutput;
58
+ //# sourceMappingURL=getNfs.js.map
package/getNfs.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNfs.js","sourceRoot":"","sources":["../getNfs.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wBAMC;AAkDD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAAiC;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kCAAkC,EAAE;QACnE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oCAMC"}
@@ -0,0 +1,58 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Get information about a DigitalOcean NFS snapshot.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * Get the NFS snapshot by ID:
8
+ */
9
+ export declare function getNfsSnapshot(args: GetNfsSnapshotArgs, opts?: pulumi.InvokeOptions): Promise<GetNfsSnapshotResult>;
10
+ /**
11
+ * A collection of arguments for invoking getNfsSnapshot.
12
+ */
13
+ export interface GetNfsSnapshotArgs {
14
+ name?: string;
15
+ nameRegex?: string;
16
+ /**
17
+ * The region where the NFS snapshot is located.
18
+ */
19
+ region?: string;
20
+ shareId: string;
21
+ }
22
+ /**
23
+ * A collection of values returned by getNfsSnapshot.
24
+ */
25
+ export interface GetNfsSnapshotResult {
26
+ readonly createdAt: string;
27
+ /**
28
+ * The provider-assigned unique ID for this managed resource.
29
+ */
30
+ readonly id: string;
31
+ readonly name?: string;
32
+ readonly nameRegex?: string;
33
+ readonly region?: string;
34
+ readonly shareId: string;
35
+ readonly size: number;
36
+ readonly status: number;
37
+ readonly tags: string[];
38
+ }
39
+ /**
40
+ * Get information about a DigitalOcean NFS snapshot.
41
+ *
42
+ * ## Example Usage
43
+ *
44
+ * Get the NFS snapshot by ID:
45
+ */
46
+ export declare function getNfsSnapshotOutput(args: GetNfsSnapshotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNfsSnapshotResult>;
47
+ /**
48
+ * A collection of arguments for invoking getNfsSnapshot.
49
+ */
50
+ export interface GetNfsSnapshotOutputArgs {
51
+ name?: pulumi.Input<string>;
52
+ nameRegex?: pulumi.Input<string>;
53
+ /**
54
+ * The region where the NFS snapshot is located.
55
+ */
56
+ region?: pulumi.Input<string>;
57
+ shareId: pulumi.Input<string>;
58
+ }
@@ -0,0 +1,42 @@
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.getNfsSnapshotOutput = exports.getNfsSnapshot = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Get information about a DigitalOcean NFS snapshot.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * Get the NFS snapshot by ID:
14
+ */
15
+ function getNfsSnapshot(args, opts) {
16
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
17
+ return pulumi.runtime.invoke("digitalocean:index/getNfsSnapshot:getNfsSnapshot", {
18
+ "name": args.name,
19
+ "nameRegex": args.nameRegex,
20
+ "region": args.region,
21
+ "shareId": args.shareId,
22
+ }, opts);
23
+ }
24
+ exports.getNfsSnapshot = getNfsSnapshot;
25
+ /**
26
+ * Get information about a DigitalOcean NFS snapshot.
27
+ *
28
+ * ## Example Usage
29
+ *
30
+ * Get the NFS snapshot by ID:
31
+ */
32
+ function getNfsSnapshotOutput(args, opts) {
33
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
34
+ return pulumi.runtime.invokeOutput("digitalocean:index/getNfsSnapshot:getNfsSnapshot", {
35
+ "name": args.name,
36
+ "nameRegex": args.nameRegex,
37
+ "region": args.region,
38
+ "shareId": args.shareId,
39
+ }, opts);
40
+ }
41
+ exports.getNfsSnapshotOutput = getNfsSnapshotOutput;
42
+ //# sourceMappingURL=getNfsSnapshot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNfsSnapshot.js","sourceRoot":"","sources":["../getNfsSnapshot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wCAQC;AAgCD;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE;QACnF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oDAQC"}