@pulumi/docker 4.6.0-alpha.1723009002 → 4.6.0-alpha.1726704154

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/container.d.ts CHANGED
@@ -194,7 +194,7 @@ export declare class Container extends pulumi.CustomResource {
194
194
  * Key/value pairs to use as options for the logging driver.
195
195
  */
196
196
  readonly logOpts: pulumi.Output<{
197
- [key: string]: any;
197
+ [key: string]: string;
198
198
  } | undefined>;
199
199
  /**
200
200
  * Save the container logs (`attach` must be enabled). Defaults to `false`.
@@ -297,19 +297,19 @@ export declare class Container extends pulumi.CustomResource {
297
297
  * Key/value pairs for the storage driver options, e.g. `size`: `120G`
298
298
  */
299
299
  readonly storageOpts: pulumi.Output<{
300
- [key: string]: any;
300
+ [key: string]: string;
301
301
  } | undefined>;
302
302
  /**
303
303
  * A map of kernel parameters (sysctls) to set in the container.
304
304
  */
305
305
  readonly sysctls: pulumi.Output<{
306
- [key: string]: any;
306
+ [key: string]: string;
307
307
  } | undefined>;
308
308
  /**
309
309
  * A map of container directories which should be replaced by `tmpfs mounts`, and their corresponding mount options.
310
310
  */
311
311
  readonly tmpfs: pulumi.Output<{
312
- [key: string]: any;
312
+ [key: string]: string;
313
313
  } | undefined>;
314
314
  /**
315
315
  * If `true`, allocate a pseudo-tty (`docker run -t`). Defaults to `false`.
@@ -476,7 +476,7 @@ export interface ContainerState {
476
476
  * Key/value pairs to use as options for the logging driver.
477
477
  */
478
478
  logOpts?: pulumi.Input<{
479
- [key: string]: any;
479
+ [key: string]: pulumi.Input<string>;
480
480
  }>;
481
481
  /**
482
482
  * Save the container logs (`attach` must be enabled). Defaults to `false`.
@@ -579,19 +579,19 @@ export interface ContainerState {
579
579
  * Key/value pairs for the storage driver options, e.g. `size`: `120G`
580
580
  */
581
581
  storageOpts?: pulumi.Input<{
582
- [key: string]: any;
582
+ [key: string]: pulumi.Input<string>;
583
583
  }>;
584
584
  /**
585
585
  * A map of kernel parameters (sysctls) to set in the container.
586
586
  */
587
587
  sysctls?: pulumi.Input<{
588
- [key: string]: any;
588
+ [key: string]: pulumi.Input<string>;
589
589
  }>;
590
590
  /**
591
591
  * A map of container directories which should be replaced by `tmpfs mounts`, and their corresponding mount options.
592
592
  */
593
593
  tmpfs?: pulumi.Input<{
594
- [key: string]: any;
594
+ [key: string]: pulumi.Input<string>;
595
595
  }>;
596
596
  /**
597
597
  * If `true`, allocate a pseudo-tty (`docker run -t`). Defaults to `false`.
@@ -738,7 +738,7 @@ export interface ContainerArgs {
738
738
  * Key/value pairs to use as options for the logging driver.
739
739
  */
740
740
  logOpts?: pulumi.Input<{
741
- [key: string]: any;
741
+ [key: string]: pulumi.Input<string>;
742
742
  }>;
743
743
  /**
744
744
  * Save the container logs (`attach` must be enabled). Defaults to `false`.
@@ -837,19 +837,19 @@ export interface ContainerArgs {
837
837
  * Key/value pairs for the storage driver options, e.g. `size`: `120G`
838
838
  */
839
839
  storageOpts?: pulumi.Input<{
840
- [key: string]: any;
840
+ [key: string]: pulumi.Input<string>;
841
841
  }>;
842
842
  /**
843
843
  * A map of kernel parameters (sysctls) to set in the container.
844
844
  */
845
845
  sysctls?: pulumi.Input<{
846
- [key: string]: any;
846
+ [key: string]: pulumi.Input<string>;
847
847
  }>;
848
848
  /**
849
849
  * A map of container directories which should be replaced by `tmpfs mounts`, and their corresponding mount options.
850
850
  */
851
851
  tmpfs?: pulumi.Input<{
852
- [key: string]: any;
852
+ [key: string]: pulumi.Input<string>;
853
853
  }>;
854
854
  /**
855
855
  * If `true`, allocate a pseudo-tty (`docker run -t`). Defaults to `false`.
package/getNetwork.d.ts CHANGED
@@ -52,7 +52,7 @@ export interface GetNetworkResult {
52
52
  * Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.
53
53
  */
54
54
  readonly options: {
55
- [key: string]: any;
55
+ [key: string]: string;
56
56
  };
57
57
  /**
58
58
  * Scope of the network. One of `swarm`, `global`, or `local`.
package/getPlugin.d.ts CHANGED
@@ -4,15 +4,19 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  *
5
5
  * ## Example Usage
6
6
  *
7
- * ### With alias
8
- * data "docker.Plugin" "byAlias" {
9
- * alias = "sample-volume-plugin:latest"
10
- * }
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as docker from "@pulumi/docker";
11
10
  *
12
- * ### With ID
13
- * data "docker.Plugin" "byId" {
14
- * id = "e9a9db917b3bfd6706b5d3a66d4bceb9f"
15
- * }
11
+ * //## With alias
12
+ * const byAlias = docker.getPlugin({
13
+ * alias: "sample-volume-plugin:latest",
14
+ * });
15
+ * //## With ID
16
+ * const byId = docker.getPlugin({
17
+ * id: "e9a9db917b3bfd6706b5d3a66d4bceb9f",
18
+ * });
19
+ * ```
16
20
  */
17
21
  export declare function getPlugin(args?: GetPluginArgs, opts?: pulumi.InvokeOptions): Promise<GetPluginResult>;
18
22
  /**
@@ -66,15 +70,19 @@ export interface GetPluginResult {
66
70
  *
67
71
  * ## Example Usage
68
72
  *
69
- * ### With alias
70
- * data "docker.Plugin" "byAlias" {
71
- * alias = "sample-volume-plugin:latest"
72
- * }
73
+ * ```typescript
74
+ * import * as pulumi from "@pulumi/pulumi";
75
+ * import * as docker from "@pulumi/docker";
73
76
  *
74
- * ### With ID
75
- * data "docker.Plugin" "byId" {
76
- * id = "e9a9db917b3bfd6706b5d3a66d4bceb9f"
77
- * }
77
+ * //## With alias
78
+ * const byAlias = docker.getPlugin({
79
+ * alias: "sample-volume-plugin:latest",
80
+ * });
81
+ * //## With ID
82
+ * const byId = docker.getPlugin({
83
+ * id: "e9a9db917b3bfd6706b5d3a66d4bceb9f",
84
+ * });
85
+ * ```
78
86
  */
79
87
  export declare function getPluginOutput(args?: GetPluginOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPluginResult>;
80
88
  /**
package/getPlugin.js CHANGED
@@ -10,15 +10,19 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * ## Example Usage
12
12
  *
13
- * ### With alias
14
- * data "docker.Plugin" "byAlias" {
15
- * alias = "sample-volume-plugin:latest"
16
- * }
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as docker from "@pulumi/docker";
17
16
  *
18
- * ### With ID
19
- * data "docker.Plugin" "byId" {
20
- * id = "e9a9db917b3bfd6706b5d3a66d4bceb9f"
21
- * }
17
+ * //## With alias
18
+ * const byAlias = docker.getPlugin({
19
+ * alias: "sample-volume-plugin:latest",
20
+ * });
21
+ * //## With ID
22
+ * const byId = docker.getPlugin({
23
+ * id: "e9a9db917b3bfd6706b5d3a66d4bceb9f",
24
+ * });
25
+ * ```
22
26
  */
23
27
  function getPlugin(args, opts) {
24
28
  args = args || {};
@@ -34,15 +38,19 @@ exports.getPlugin = getPlugin;
34
38
  *
35
39
  * ## Example Usage
36
40
  *
37
- * ### With alias
38
- * data "docker.Plugin" "byAlias" {
39
- * alias = "sample-volume-plugin:latest"
40
- * }
41
+ * ```typescript
42
+ * import * as pulumi from "@pulumi/pulumi";
43
+ * import * as docker from "@pulumi/docker";
41
44
  *
42
- * ### With ID
43
- * data "docker.Plugin" "byId" {
44
- * id = "e9a9db917b3bfd6706b5d3a66d4bceb9f"
45
- * }
45
+ * //## With alias
46
+ * const byAlias = docker.getPlugin({
47
+ * alias: "sample-volume-plugin:latest",
48
+ * });
49
+ * //## With ID
50
+ * const byId = docker.getPlugin({
51
+ * id: "e9a9db917b3bfd6706b5d3a66d4bceb9f",
52
+ * });
53
+ * ```
46
54
  */
47
55
  function getPluginOutput(args, opts) {
48
56
  return pulumi.output(args).apply((a) => getPlugin(a, opts));
package/getPlugin.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getPlugin.js","sourceRoot":"","sources":["../getPlugin.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAc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IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
package/network.d.ts CHANGED
@@ -94,7 +94,7 @@ export declare class Network extends pulumi.CustomResource {
94
94
  * Provide explicit options to the IPAM driver. Valid options vary with `ipamDriver` and refer to that driver's documentation for more details.
95
95
  */
96
96
  readonly ipamOptions: pulumi.Output<{
97
- [key: string]: any;
97
+ [key: string]: string;
98
98
  } | undefined>;
99
99
  /**
100
100
  * Enable IPv6 networking. Defaults to `false`.
@@ -112,7 +112,7 @@ export declare class Network extends pulumi.CustomResource {
112
112
  * Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.
113
113
  */
114
114
  readonly options: pulumi.Output<{
115
- [key: string]: any;
115
+ [key: string]: string;
116
116
  }>;
117
117
  /**
118
118
  * Scope of the network. One of `swarm`, `global`, or `local`.
@@ -163,7 +163,7 @@ export interface NetworkState {
163
163
  * Provide explicit options to the IPAM driver. Valid options vary with `ipamDriver` and refer to that driver's documentation for more details.
164
164
  */
165
165
  ipamOptions?: pulumi.Input<{
166
- [key: string]: any;
166
+ [key: string]: pulumi.Input<string>;
167
167
  }>;
168
168
  /**
169
169
  * Enable IPv6 networking. Defaults to `false`.
@@ -181,7 +181,7 @@ export interface NetworkState {
181
181
  * Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.
182
182
  */
183
183
  options?: pulumi.Input<{
184
- [key: string]: any;
184
+ [key: string]: pulumi.Input<string>;
185
185
  }>;
186
186
  /**
187
187
  * Scope of the network. One of `swarm`, `global`, or `local`.
@@ -224,7 +224,7 @@ export interface NetworkArgs {
224
224
  * Provide explicit options to the IPAM driver. Valid options vary with `ipamDriver` and refer to that driver's documentation for more details.
225
225
  */
226
226
  ipamOptions?: pulumi.Input<{
227
- [key: string]: any;
227
+ [key: string]: pulumi.Input<string>;
228
228
  }>;
229
229
  /**
230
230
  * Enable IPv6 networking. Defaults to `false`.
@@ -242,6 +242,6 @@ export interface NetworkArgs {
242
242
  * Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.
243
243
  */
244
244
  options?: pulumi.Input<{
245
- [key: string]: any;
245
+ [key: string]: pulumi.Input<string>;
246
246
  }>;
247
247
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/docker",
3
- "version": "4.6.0-alpha.1723009002",
3
+ "version": "4.6.0-alpha.1726704154",
4
4
  "description": "A Pulumi package for interacting with Docker in Pulumi programs",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -24,6 +24,6 @@
24
24
  "pulumi": {
25
25
  "resource": true,
26
26
  "name": "docker",
27
- "version": "4.6.0-alpha.1723009002"
27
+ "version": "4.6.0-alpha.1726704154"
28
28
  }
29
29
  }
@@ -39,7 +39,7 @@ export declare class RegistryImage extends pulumi.CustomResource {
39
39
  * A map of arbitrary strings that, when changed, will force the `docker.RegistryImage` resource to be replaced. This can be used to repush a local image
40
40
  */
41
41
  readonly triggers: pulumi.Output<{
42
- [key: string]: any;
42
+ [key: string]: string;
43
43
  } | undefined>;
44
44
  /**
45
45
  * Create a RegistryImage resource with the given unique name, arguments, and options.
@@ -74,7 +74,7 @@ export interface RegistryImageState {
74
74
  * A map of arbitrary strings that, when changed, will force the `docker.RegistryImage` resource to be replaced. This can be used to repush a local image
75
75
  */
76
76
  triggers?: pulumi.Input<{
77
- [key: string]: any;
77
+ [key: string]: pulumi.Input<string>;
78
78
  }>;
79
79
  }
80
80
  /**
@@ -97,6 +97,6 @@ export interface RegistryImageArgs {
97
97
  * A map of arbitrary strings that, when changed, will force the `docker.RegistryImage` resource to be replaced. This can be used to repush a local image
98
98
  */
99
99
  triggers?: pulumi.Input<{
100
- [key: string]: any;
100
+ [key: string]: pulumi.Input<string>;
101
101
  }>;
102
102
  }
package/remoteImage.d.ts CHANGED
@@ -116,7 +116,7 @@ export declare class RemoteImage extends pulumi.CustomResource {
116
116
  * A map of arbitrary strings that, when changed, will force the `docker.RemoteImage` resource to be replaced. This can be used to rebuild an image when contents of source code folders change
117
117
  */
118
118
  readonly triggers: pulumi.Output<{
119
- [key: string]: any;
119
+ [key: string]: string;
120
120
  } | undefined>;
121
121
  /**
122
122
  * Create a RemoteImage resource with the given unique name, arguments, and options.
@@ -167,7 +167,7 @@ export interface RemoteImageState {
167
167
  * A map of arbitrary strings that, when changed, will force the `docker.RemoteImage` resource to be replaced. This can be used to rebuild an image when contents of source code folders change
168
168
  */
169
169
  triggers?: pulumi.Input<{
170
- [key: string]: any;
170
+ [key: string]: pulumi.Input<string>;
171
171
  }>;
172
172
  }
173
173
  /**
@@ -202,6 +202,6 @@ export interface RemoteImageArgs {
202
202
  * A map of arbitrary strings that, when changed, will force the `docker.RemoteImage` resource to be replaced. This can be used to rebuild an image when contents of source code folders change
203
203
  */
204
204
  triggers?: pulumi.Input<{
205
- [key: string]: any;
205
+ [key: string]: pulumi.Input<string>;
206
206
  }>;
207
207
  }
package/types/input.d.ts CHANGED
@@ -332,7 +332,7 @@ export interface NetworkIpamConfig {
332
332
  * Auxiliary IPv4 or IPv6 addresses used by Network driver
333
333
  */
334
334
  auxAddress?: pulumi.Input<{
335
- [key: string]: any;
335
+ [key: string]: pulumi.Input<string>;
336
336
  }>;
337
337
  /**
338
338
  * The IP address of the gateway
@@ -840,7 +840,7 @@ export interface ServiceTaskSpecContainerSpec {
840
840
  * Sysctls config (Linux only)
841
841
  */
842
842
  sysctl?: pulumi.Input<{
843
- [key: string]: any;
843
+ [key: string]: pulumi.Input<string>;
844
844
  }>;
845
845
  /**
846
846
  * The user inside the container
package/types/output.d.ts CHANGED
@@ -278,7 +278,7 @@ export interface GetNetworkIpamConfig {
278
278
  * Auxiliary IPv4 or IPv6 addresses used by Network driver
279
279
  */
280
280
  auxAddress?: {
281
- [key: string]: any;
281
+ [key: string]: string;
282
282
  };
283
283
  /**
284
284
  * The IP address of the gateway
@@ -298,7 +298,7 @@ export interface NetworkIpamConfig {
298
298
  * Auxiliary IPv4 or IPv6 addresses used by Network driver
299
299
  */
300
300
  auxAddress?: {
301
- [key: string]: any;
301
+ [key: string]: string;
302
302
  };
303
303
  /**
304
304
  * The IP address of the gateway
@@ -766,7 +766,7 @@ export interface ServiceTaskSpecContainerSpec {
766
766
  * Sysctls config (Linux only)
767
767
  */
768
768
  sysctl?: {
769
- [key: string]: any;
769
+ [key: string]: string;
770
770
  };
771
771
  /**
772
772
  * The user inside the container
package/volume.d.ts CHANGED
@@ -70,7 +70,7 @@ export declare class Volume extends pulumi.CustomResource {
70
70
  * Options specific to the driver.
71
71
  */
72
72
  readonly driverOpts: pulumi.Output<{
73
- [key: string]: any;
73
+ [key: string]: string;
74
74
  } | undefined>;
75
75
  /**
76
76
  * User-defined key/value metadata
@@ -105,7 +105,7 @@ export interface VolumeState {
105
105
  * Options specific to the driver.
106
106
  */
107
107
  driverOpts?: pulumi.Input<{
108
- [key: string]: any;
108
+ [key: string]: pulumi.Input<string>;
109
109
  }>;
110
110
  /**
111
111
  * User-defined key/value metadata
@@ -132,7 +132,7 @@ export interface VolumeArgs {
132
132
  * Options specific to the driver.
133
133
  */
134
134
  driverOpts?: pulumi.Input<{
135
- [key: string]: any;
135
+ [key: string]: pulumi.Input<string>;
136
136
  }>;
137
137
  /**
138
138
  * User-defined key/value metadata