@pulumi/tailscale 0.2.0 → 0.3.1-alpha.1640898051

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.
@@ -0,0 +1,69 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * The deviceAuthorization resource is used to approve new devices before they can join the tailnet.
4
+ * See the [Tailscale device authorization documentation](https://tailscale.com/kb/1099/device-authorization) for more
5
+ * information.
6
+ *
7
+ * The Tailscale API currently only supports authorizing devices, but not rejecting/removing them. Once a device is
8
+ * authorized by this provider it cannot be modified again afterwards. Modifying or deleting the resource
9
+ * will not affect the device's authorization within the tailnet.
10
+ */
11
+ export declare class DeviceAuthorization extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing DeviceAuthorization resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param state Any extra arguments used during the lookup.
19
+ * @param opts Optional settings to control the behavior of the CustomResource.
20
+ */
21
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DeviceAuthorizationState, opts?: pulumi.CustomResourceOptions): DeviceAuthorization;
22
+ /**
23
+ * Returns true if the given object is an instance of DeviceAuthorization. This is designed to work even
24
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
25
+ */
26
+ static isInstance(obj: any): obj is DeviceAuthorization;
27
+ /**
28
+ * Indicates if the device is allowed to join the tailnet.
29
+ */
30
+ readonly authorized: pulumi.Output<boolean>;
31
+ /**
32
+ * The device to authorize.
33
+ */
34
+ readonly deviceId: pulumi.Output<string>;
35
+ /**
36
+ * Create a DeviceAuthorization resource with the given unique name, arguments, and options.
37
+ *
38
+ * @param name The _unique_ name of the resource.
39
+ * @param args The arguments to use to populate this resource's properties.
40
+ * @param opts A bag of options that control this resource's behavior.
41
+ */
42
+ constructor(name: string, args: DeviceAuthorizationArgs, opts?: pulumi.CustomResourceOptions);
43
+ }
44
+ /**
45
+ * Input properties used for looking up and filtering DeviceAuthorization resources.
46
+ */
47
+ export interface DeviceAuthorizationState {
48
+ /**
49
+ * Indicates if the device is allowed to join the tailnet.
50
+ */
51
+ authorized?: pulumi.Input<boolean>;
52
+ /**
53
+ * The device to authorize.
54
+ */
55
+ deviceId?: pulumi.Input<string>;
56
+ }
57
+ /**
58
+ * The set of arguments for constructing a DeviceAuthorization resource.
59
+ */
60
+ export interface DeviceAuthorizationArgs {
61
+ /**
62
+ * Indicates if the device is allowed to join the tailnet.
63
+ */
64
+ authorized: pulumi.Input<boolean>;
65
+ /**
66
+ * The device to authorize.
67
+ */
68
+ deviceId: pulumi.Input<string>;
69
+ }
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.DeviceAuthorization = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * The deviceAuthorization resource is used to approve new devices before they can join the tailnet.
10
+ * See the [Tailscale device authorization documentation](https://tailscale.com/kb/1099/device-authorization) for more
11
+ * information.
12
+ *
13
+ * The Tailscale API currently only supports authorizing devices, but not rejecting/removing them. Once a device is
14
+ * authorized by this provider it cannot be modified again afterwards. Modifying or deleting the resource
15
+ * will not affect the device's authorization within the tailnet.
16
+ */
17
+ class DeviceAuthorization extends pulumi.CustomResource {
18
+ constructor(name, argsOrState, opts) {
19
+ let inputs = {};
20
+ opts = opts || {};
21
+ if (opts.id) {
22
+ const state = argsOrState;
23
+ inputs["authorized"] = state ? state.authorized : undefined;
24
+ inputs["deviceId"] = state ? state.deviceId : undefined;
25
+ }
26
+ else {
27
+ const args = argsOrState;
28
+ if ((!args || args.authorized === undefined) && !opts.urn) {
29
+ throw new Error("Missing required property 'authorized'");
30
+ }
31
+ if ((!args || args.deviceId === undefined) && !opts.urn) {
32
+ throw new Error("Missing required property 'deviceId'");
33
+ }
34
+ inputs["authorized"] = args ? args.authorized : undefined;
35
+ inputs["deviceId"] = args ? args.deviceId : undefined;
36
+ }
37
+ if (!opts.version) {
38
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
39
+ }
40
+ super(DeviceAuthorization.__pulumiType, name, inputs, opts);
41
+ }
42
+ /**
43
+ * Get an existing DeviceAuthorization resource's state with the given name, ID, and optional extra
44
+ * properties used to qualify the lookup.
45
+ *
46
+ * @param name The _unique_ name of the resulting resource.
47
+ * @param id The _unique_ provider ID of the resource to lookup.
48
+ * @param state Any extra arguments used during the lookup.
49
+ * @param opts Optional settings to control the behavior of the CustomResource.
50
+ */
51
+ static get(name, id, state, opts) {
52
+ return new DeviceAuthorization(name, state, Object.assign(Object.assign({}, opts), { id: id }));
53
+ }
54
+ /**
55
+ * Returns true if the given object is an instance of DeviceAuthorization. This is designed to work even
56
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
57
+ */
58
+ static isInstance(obj) {
59
+ if (obj === undefined || obj === null) {
60
+ return false;
61
+ }
62
+ return obj['__pulumiType'] === DeviceAuthorization.__pulumiType;
63
+ }
64
+ }
65
+ exports.DeviceAuthorization = DeviceAuthorization;
66
+ /** @internal */
67
+ DeviceAuthorization.__pulumiType = 'tailscale:index/deviceAuthorization:DeviceAuthorization';
68
+ //# sourceMappingURL=deviceAuthorization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deviceAuthorization.js","sourceRoot":"","sources":["../deviceAuthorization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IA6C1D,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IA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,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;;AA1BL,kDAoEC;AAtDG,gBAAgB;AACO,gCAAY,GAAG,yDAAyD,CAAC"}
package/getDevice.d.ts CHANGED
@@ -36,6 +36,10 @@ export interface GetDeviceResult {
36
36
  */
37
37
  readonly id: string;
38
38
  readonly name: string;
39
+ /**
40
+ * The user associated with the device
41
+ */
42
+ readonly user: string;
39
43
  }
40
44
  export declare function getDeviceOutput(args: GetDeviceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDeviceResult>;
41
45
  /**
package/getDevice.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getDevice.js","sourceRoot":"","sources":["../getDevice.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8BAWC;AA2BD,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,0CAEC"}
1
+ {"version":3,"file":"getDevice.js","sourceRoot":"","sources":["../getDevice.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8BAWC;AA+BD,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,0CAEC"}
package/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from "./acl";
2
+ export * from "./deviceAuthorization";
2
3
  export * from "./deviceSubnetRoutes";
3
4
  export * from "./dnsNameservers";
4
5
  export * from "./dnsPreferences";
package/index.js CHANGED
@@ -17,6 +17,7 @@ const pulumi = require("@pulumi/pulumi");
17
17
  const utilities = require("./utilities");
18
18
  // Export members:
19
19
  __exportStar(require("./acl"), exports);
20
+ __exportStar(require("./deviceAuthorization"), exports);
20
21
  __exportStar(require("./deviceSubnetRoutes"), exports);
21
22
  __exportStar(require("./dnsNameservers"), exports);
22
23
  __exportStar(require("./dnsPreferences"), exports);
@@ -31,6 +32,7 @@ const types = require("./types");
31
32
  exports.types = types;
32
33
  // Import resources to register:
33
34
  const acl_1 = require("./acl");
35
+ const deviceAuthorization_1 = require("./deviceAuthorization");
34
36
  const deviceSubnetRoutes_1 = require("./deviceSubnetRoutes");
35
37
  const dnsNameservers_1 = require("./dnsNameservers");
36
38
  const dnsPreferences_1 = require("./dnsPreferences");
@@ -41,6 +43,8 @@ const _module = {
41
43
  switch (type) {
42
44
  case "tailscale:index/acl:Acl":
43
45
  return new acl_1.Acl(name, undefined, { urn });
46
+ case "tailscale:index/deviceAuthorization:DeviceAuthorization":
47
+ return new deviceAuthorization_1.DeviceAuthorization(name, undefined, { urn });
44
48
  case "tailscale:index/deviceSubnetRoutes:DeviceSubnetRoutes":
45
49
  return new deviceSubnetRoutes_1.DeviceSubnetRoutes(name, undefined, { urn });
46
50
  case "tailscale:index/dnsNameservers:DnsNameservers":
@@ -55,6 +59,7 @@ const _module = {
55
59
  },
56
60
  };
57
61
  pulumi.runtime.registerResourceModule("tailscale", "index/acl", _module);
62
+ pulumi.runtime.registerResourceModule("tailscale", "index/deviceAuthorization", _module);
58
63
  pulumi.runtime.registerResourceModule("tailscale", "index/deviceSubnetRoutes", _module);
59
64
  pulumi.runtime.registerResourceModule("tailscale", "index/dnsNameservers", _module);
60
65
  pulumi.runtime.registerResourceModule("tailscale", "index/dnsPreferences", _module);
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,wCAAsB;AACtB,uDAAqC;AACrC,mDAAiC;AACjC,mDAAiC;AACjC,mDAAiC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BAAsB,CAAC,WAAW,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAEnF,yCAAsC;AAEtC,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,WAAW,EAAE;IAChD,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,4BAA4B,EAAE;YACvC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/tailscale",
3
- "version": "v0.2.0",
3
+ "version": "v0.3.1-alpha.1640898051+5b32f374",
4
4
  "description": "A Pulumi package for creating and managing xyz cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource tailscale v0.2.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource tailscale v0.3.1-alpha.1640898051+5b32f374"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/tailscale",
3
- "version": "v0.2.0",
3
+ "version": "v0.3.1-alpha.1640898051+5b32f374",
4
4
  "description": "A Pulumi package for creating and managing xyz cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
package/types/output.d.ts CHANGED
@@ -11,4 +11,8 @@ export interface GetDevicesDevice {
11
11
  * The name of the device
12
12
  */
13
13
  name: string;
14
+ /**
15
+ * The user associated with the device
16
+ */
17
+ user: string;
14
18
  }