@pulumi/command 1.3.0-alpha.1778048708 → 1.3.0-alpha.1778060447

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": "1.3.0-alpha.1778048708",
3
+ "version": "1.3.0-alpha.1778060447",
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 1.3.0-alpha.1778048708"
15
+ "install": "node scripts/install-pulumi-plugin.js resource command 1.3.0-alpha.1778060447"
16
16
  },
17
17
  "dependencies": {
18
18
  "@pulumi/pulumi": "^3.142.0"
@@ -24,6 +24,6 @@
24
24
  "pulumi": {
25
25
  "resource": true,
26
26
  "name": "command",
27
- "version": "1.3.0-alpha.1778048708"
27
+ "version": "1.3.0-alpha.1778060447"
28
28
  }
29
29
  }
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/command",
3
- "version": "1.3.0-alpha.1778048708",
3
+ "version": "1.3.0-alpha.1778060447",
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": "1.3.0-alpha.1778048708"
26
+ "version": "1.3.0-alpha.1778060447"
27
27
  }
28
28
  }
@@ -4,11 +4,6 @@ import * as outputs from "../types/output";
4
4
  /**
5
5
  * Copy an Asset or Archive to a remote host.
6
6
  *
7
- * Supported source types:
8
- * - `FileAsset`: Copy a local file to the remote host.
9
- * - `StringAsset`: Copy text content directly to a remote file (useful for configuration files, certificates, etc.).
10
- * - `FileArchive`: Copy a local directory or archive to the remote host.
11
- *
12
7
  * ## Example usage
13
8
  *
14
9
  * This example copies a local directory to a remote host via SSH. For brevity, the remote server is assumed to exist, but it could also be provisioned in the same Pulumi program.
@@ -91,7 +86,7 @@ export declare class CopyToRemote extends pulumi.CustomResource {
91
86
  */
92
87
  readonly remotePath: pulumi.Output<string>;
93
88
  /**
94
- * An [asset or an archive](https://www.pulumi.com/docs/concepts/assets-archives/) to upload as the source of the copy. It must be a `FileAsset`, `StringAsset`, or a `FileArchive`. The item will be copied as-is; archives like .tgz will not be unpacked. Directories are copied recursively, overwriting existing files.
89
+ * An [asset or an archive](https://www.pulumi.com/docs/concepts/assets-archives/) to upload as the source of the copy. The item will be copied as-is; archives like .tgz will not be unpacked. Directories are copied recursively, overwriting existing files.
95
90
  */
96
91
  readonly source: pulumi.Output<pulumi.asset.Asset | pulumi.asset.Archive>;
97
92
  /**
@@ -120,7 +115,7 @@ export interface CopyToRemoteArgs {
120
115
  */
121
116
  remotePath: pulumi.Input<string>;
122
117
  /**
123
- * An [asset or an archive](https://www.pulumi.com/docs/concepts/assets-archives/) to upload as the source of the copy. It must be a `FileAsset`, `StringAsset`, or a `FileArchive`. The item will be copied as-is; archives like .tgz will not be unpacked. Directories are copied recursively, overwriting existing files.
118
+ * An [asset or an archive](https://www.pulumi.com/docs/concepts/assets-archives/) to upload as the source of the copy. The item will be copied as-is; archives like .tgz will not be unpacked. Directories are copied recursively, overwriting existing files.
124
119
  */
125
120
  source: pulumi.Input<pulumi.asset.Asset | pulumi.asset.Archive>;
126
121
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"copyToRemote.d.ts","sourceRoot":"","sources":["../../remote/copyToRemote.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAI3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,qBAAa,YAAa,SAAQ,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U,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;IACvD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAChE;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,GAAG,SAAS,CAAC,CAAC;CAC9C"}
@@ -32,11 +32,6 @@ const utilities = __importStar(require("../utilities"));
32
32
  /**
33
33
  * Copy an Asset or Archive to a remote host.
34
34
  *
35
- * Supported source types:
36
- * - `FileAsset`: Copy a local file to the remote host.
37
- * - `StringAsset`: Copy text content directly to a remote file (useful for configuration files, certificates, etc.).
38
- * - `FileArchive`: Copy a local directory or archive to the remote host.
39
- *
40
35
  * ## Example usage
41
36
  *
42
37
  * This example copies a local directory to a remote host via SSH. For brevity, the remote server is assumed to exist, but it could also be provisioned in the same Pulumi program.
@@ -1 +1 @@
1
- {"version":3,"file":"copyToRemote.js","sourceRoot":"","sources":["../../remote/copyToRemote.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CA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