@pulumi/command 0.12.0-alpha.1718647559 → 0.12.0-alpha.1718886727

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/command",
3
- "version": "0.12.0-alpha.1718647559",
3
+ "version": "0.12.0-alpha.1718886727",
4
4
  "keywords": [
5
5
  "pulumi",
6
6
  "command",
@@ -12,7 +12,7 @@
12
12
  "license": "Apache-2.0",
13
13
  "scripts": {
14
14
  "build": "tsc",
15
- "install": "node scripts/install-pulumi-plugin.js resource command 0.12.0-alpha.1718647559"
15
+ "install": "node scripts/install-pulumi-plugin.js resource command 0.12.0-alpha.1718886727"
16
16
  },
17
17
  "dependencies": {
18
18
  "@pulumi/pulumi": "^3.0.0"
@@ -24,6 +24,6 @@
24
24
  "pulumi": {
25
25
  "resource": true,
26
26
  "name": "command",
27
- "version": "0.12.0-alpha.1718647559"
27
+ "version": "0.12.0-alpha.1718886727"
28
28
  }
29
29
  }
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/command",
3
- "version": "0.12.0-alpha.1718647559",
3
+ "version": "0.12.0-alpha.1718886727",
4
4
  "keywords": [
5
5
  "pulumi",
6
6
  "command",
@@ -23,6 +23,6 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "command",
26
- "version": "0.12.0-alpha.1718647559"
26
+ "version": "0.12.0-alpha.1718886727"
27
27
  }
28
28
  }
@@ -0,0 +1,67 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Copy an Asset or Archive to a remote host.
6
+ */
7
+ export declare class CopyToRemote extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing CopyToRemote resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param opts Optional settings to control the behavior of the CustomResource.
15
+ */
16
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CopyToRemote;
17
+ /**
18
+ * Returns true if the given object is an instance of CopyToRemote. This is designed to work even
19
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
+ */
21
+ static isInstance(obj: any): obj is CopyToRemote;
22
+ /**
23
+ * The parameters with which to connect to the remote host.
24
+ */
25
+ readonly connection: pulumi.Output<outputs.remote.Connection>;
26
+ /**
27
+ * The destination path on the remote host. The last element of the path will be created if it doesn't exist but it's an error when additional elements don't exist. When the remote path is an existing directory, the source file or directory will be copied into that directory. When the source is a file and the remote path is an existing file, that file will be overwritten. When the source is a directory and the remote path an existing file, the copy will fail.
28
+ */
29
+ readonly remotePath: pulumi.Output<string>;
30
+ /**
31
+ * An [asset or an archive](https://www.pulumi.com/docs/concepts/assets-archives/) to upload as the source of the copy. It must be path-based, i.e., be a `FileAsset` or a `FileArchive`. The item will be copied as-is; archives like .tgz will not be unpacked. Directories are copied recursively, overwriting existing files.
32
+ */
33
+ readonly source: pulumi.Output<pulumi.asset.Asset | pulumi.asset.Archive>;
34
+ /**
35
+ * Trigger replacements on changes to this input.
36
+ */
37
+ readonly triggers: pulumi.Output<any[] | undefined>;
38
+ /**
39
+ * Create a CopyToRemote resource with the given unique name, arguments, and options.
40
+ *
41
+ * @param name The _unique_ name of the resource.
42
+ * @param args The arguments to use to populate this resource's properties.
43
+ * @param opts A bag of options that control this resource's behavior.
44
+ */
45
+ constructor(name: string, args: CopyToRemoteArgs, opts?: pulumi.CustomResourceOptions);
46
+ }
47
+ /**
48
+ * The set of arguments for constructing a CopyToRemote resource.
49
+ */
50
+ export interface CopyToRemoteArgs {
51
+ /**
52
+ * The parameters with which to connect to the remote host.
53
+ */
54
+ connection: pulumi.Input<inputs.remote.ConnectionArgs>;
55
+ /**
56
+ * The destination path on the remote host. The last element of the path will be created if it doesn't exist but it's an error when additional elements don't exist. When the remote path is an existing directory, the source file or directory will be copied into that directory. When the source is a file and the remote path is an existing file, that file will be overwritten. When the source is a directory and the remote path an existing file, the copy will fail.
57
+ */
58
+ remotePath: pulumi.Input<string>;
59
+ /**
60
+ * An [asset or an archive](https://www.pulumi.com/docs/concepts/assets-archives/) to upload as the source of the copy. It must be path-based, i.e., be a `FileAsset` or a `FileArchive`. The item will be copied as-is; archives like .tgz will not be unpacked. Directories are copied recursively, overwriting existing files.
61
+ */
62
+ source: pulumi.Input<pulumi.asset.Asset | pulumi.asset.Archive>;
63
+ /**
64
+ * Trigger replacements on changes to this input.
65
+ */
66
+ triggers?: pulumi.Input<any[]>;
67
+ }
@@ -2,16 +2,16 @@
2
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.CopyFile = void 0;
5
+ exports.CopyToRemote = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const inputs = require("../types/input");
8
8
  const utilities = require("../utilities");
9
9
  /**
10
- * Copy a local file to a remote host.
10
+ * Copy an Asset or Archive to a remote host.
11
11
  */
12
- class CopyFile extends pulumi.CustomResource {
12
+ class CopyToRemote extends pulumi.CustomResource {
13
13
  /**
14
- * Get an existing CopyFile resource's state with the given name, ID, and optional extra
14
+ * Get an existing CopyToRemote resource's state with the given name, ID, and optional extra
15
15
  * properties used to qualify the lookup.
16
16
  *
17
17
  * @param name The _unique_ name of the resulting resource.
@@ -19,20 +19,20 @@ class CopyFile extends pulumi.CustomResource {
19
19
  * @param opts Optional settings to control the behavior of the CustomResource.
20
20
  */
21
21
  static get(name, id, opts) {
22
- return new CopyFile(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ return new CopyToRemote(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
23
23
  }
24
24
  /**
25
- * Returns true if the given object is an instance of CopyFile. This is designed to work even
25
+ * Returns true if the given object is an instance of CopyToRemote. This is designed to work even
26
26
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
27
  */
28
28
  static isInstance(obj) {
29
29
  if (obj === undefined || obj === null) {
30
30
  return false;
31
31
  }
32
- return obj['__pulumiType'] === CopyFile.__pulumiType;
32
+ return obj['__pulumiType'] === CopyToRemote.__pulumiType;
33
33
  }
34
34
  /**
35
- * Create a CopyFile resource with the given unique name, arguments, and options.
35
+ * Create a CopyToRemote resource with the given unique name, arguments, and options.
36
36
  *
37
37
  * @param name The _unique_ name of the resource.
38
38
  * @param args The arguments to use to populate this resource's properties.
@@ -45,21 +45,21 @@ class CopyFile extends pulumi.CustomResource {
45
45
  if ((!args || args.connection === undefined) && !opts.urn) {
46
46
  throw new Error("Missing required property 'connection'");
47
47
  }
48
- if ((!args || args.localPath === undefined) && !opts.urn) {
49
- throw new Error("Missing required property 'localPath'");
50
- }
51
48
  if ((!args || args.remotePath === undefined) && !opts.urn) {
52
49
  throw new Error("Missing required property 'remotePath'");
53
50
  }
51
+ if ((!args || args.source === undefined) && !opts.urn) {
52
+ throw new Error("Missing required property 'source'");
53
+ }
54
54
  resourceInputs["connection"] = (args === null || args === void 0 ? void 0 : args.connection) ? pulumi.secret((args.connection ? pulumi.output(args.connection).apply(inputs.remote.connectionArgsProvideDefaults) : undefined)) : undefined;
55
- resourceInputs["localPath"] = args ? args.localPath : undefined;
56
55
  resourceInputs["remotePath"] = args ? args.remotePath : undefined;
56
+ resourceInputs["source"] = args ? args.source : undefined;
57
57
  resourceInputs["triggers"] = args ? args.triggers : undefined;
58
58
  }
59
59
  else {
60
60
  resourceInputs["connection"] = undefined /*out*/;
61
- resourceInputs["localPath"] = undefined /*out*/;
62
61
  resourceInputs["remotePath"] = undefined /*out*/;
62
+ resourceInputs["source"] = undefined /*out*/;
63
63
  resourceInputs["triggers"] = undefined /*out*/;
64
64
  }
65
65
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -67,10 +67,10 @@ class CopyFile extends pulumi.CustomResource {
67
67
  opts = pulumi.mergeOptions(opts, secretOpts);
68
68
  const replaceOnChanges = { replaceOnChanges: ["triggers[*]"] };
69
69
  opts = pulumi.mergeOptions(opts, replaceOnChanges);
70
- super(CopyFile.__pulumiType, name, resourceInputs, opts);
70
+ super(CopyToRemote.__pulumiType, name, resourceInputs, opts);
71
71
  }
72
72
  }
73
- exports.CopyFile = CopyFile;
73
+ exports.CopyToRemote = CopyToRemote;
74
74
  /** @internal */
75
- CopyFile.__pulumiType = 'command:remote:CopyFile';
76
- //# sourceMappingURL=copyFile.js.map
75
+ CopyToRemote.__pulumiType = 'command:remote:CopyToRemote';
76
+ //# sourceMappingURL=copyToRemote.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copyToRemote.js","sourceRoot":"","sources":["../../remote/copyToRemote.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,YAAY,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAmBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAsB,EAAE,IAAmC;QACjF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI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jE;aAAM;YACH,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC;QAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC;QAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAhFL,oCAiFC;AApEG,gBAAgB;AACO,yBAAY,GAAG,6BAA6B,CAAC"}
package/remote/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { CommandArgs } from "./command";
2
2
  export type Command = import("./command").Command;
3
3
  export declare const Command: typeof import("./command").Command;
4
- export { CopyFileArgs } from "./copyFile";
5
- export type CopyFile = import("./copyFile").CopyFile;
6
- export declare const CopyFile: typeof import("./copyFile").CopyFile;
4
+ export { CopyToRemoteArgs } from "./copyToRemote";
5
+ export type CopyToRemote = import("./copyToRemote").CopyToRemote;
6
+ export declare const CopyToRemote: typeof import("./copyToRemote").CopyToRemote;
7
7
  export * from "../types/enums/remote";
package/remote/index.js CHANGED
@@ -16,13 +16,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.CopyFile = exports.Command = void 0;
19
+ exports.CopyToRemote = exports.Command = void 0;
20
20
  const pulumi = require("@pulumi/pulumi");
21
21
  const utilities = require("../utilities");
22
22
  exports.Command = null;
23
23
  utilities.lazyLoad(exports, ["Command"], () => require("./command"));
24
- exports.CopyFile = null;
25
- utilities.lazyLoad(exports, ["CopyFile"], () => require("./copyFile"));
24
+ exports.CopyToRemote = null;
25
+ utilities.lazyLoad(exports, ["CopyToRemote"], () => require("./copyToRemote"));
26
26
  // Export enums:
27
27
  __exportStar(require("../types/enums/remote"), exports);
28
28
  const _module = {
@@ -31,8 +31,8 @@ const _module = {
31
31
  switch (type) {
32
32
  case "command:remote:Command":
33
33
  return new exports.Command(name, undefined, { urn });
34
- case "command:remote:CopyFile":
35
- return new exports.CopyFile(name, undefined, { urn });
34
+ case "command:remote:CopyToRemote":
35
+ return new exports.CopyToRemote(name, undefined, { urn });
36
36
  default:
37
37
  throw new Error(`unknown resource type ${type}`);
38
38
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../remote/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,gBAAgB;AAChB,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AAK,wBAAwB;gBACzB,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,6BAA6B;gBAC9B,OAAO,IAAI,oBAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAA"}
@@ -1,67 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as inputs from "../types/input";
3
- import * as outputs from "../types/output";
4
- /**
5
- * Copy a local file to a remote host.
6
- */
7
- export declare class CopyFile extends pulumi.CustomResource {
8
- /**
9
- * Get an existing CopyFile resource's state with the given name, ID, and optional extra
10
- * properties used to qualify the lookup.
11
- *
12
- * @param name The _unique_ name of the resulting resource.
13
- * @param id The _unique_ provider ID of the resource to lookup.
14
- * @param opts Optional settings to control the behavior of the CustomResource.
15
- */
16
- static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CopyFile;
17
- /**
18
- * Returns true if the given object is an instance of CopyFile. This is designed to work even
19
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
- */
21
- static isInstance(obj: any): obj is CopyFile;
22
- /**
23
- * The parameters with which to connect to the remote host.
24
- */
25
- readonly connection: pulumi.Output<outputs.remote.Connection>;
26
- /**
27
- * The path of the file to be copied.
28
- */
29
- readonly localPath: pulumi.Output<string>;
30
- /**
31
- * The destination path in the remote host.
32
- */
33
- readonly remotePath: pulumi.Output<string>;
34
- /**
35
- * Trigger replacements on changes to this input.
36
- */
37
- readonly triggers: pulumi.Output<any[] | undefined>;
38
- /**
39
- * Create a CopyFile resource with the given unique name, arguments, and options.
40
- *
41
- * @param name The _unique_ name of the resource.
42
- * @param args The arguments to use to populate this resource's properties.
43
- * @param opts A bag of options that control this resource's behavior.
44
- */
45
- constructor(name: string, args: CopyFileArgs, opts?: pulumi.CustomResourceOptions);
46
- }
47
- /**
48
- * The set of arguments for constructing a CopyFile resource.
49
- */
50
- export interface CopyFileArgs {
51
- /**
52
- * The parameters with which to connect to the remote host.
53
- */
54
- connection: pulumi.Input<inputs.remote.ConnectionArgs>;
55
- /**
56
- * The path of the file to be copied.
57
- */
58
- localPath: pulumi.Input<string>;
59
- /**
60
- * The destination path in the remote host.
61
- */
62
- remotePath: pulumi.Input<string>;
63
- /**
64
- * Trigger replacements on changes to this input.
65
- */
66
- triggers?: pulumi.Input<any[]>;
67
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"copyFile.js","sourceRoot":"","sources":["../../remote/copyFile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAmBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAkB,EAAE,IAAmC;QAC7E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CA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