@pulumi/tailscale 1.0.0-alpha.1756363476 → 1.0.0-alpha.1756506970
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/acl.js +8 -8
- package/acl.js.map +1 -1
- package/awsExternalId.js +3 -3
- package/awsExternalId.js.map +1 -1
- package/config/vars.d.ts +6 -13
- package/config/vars.js.map +1 -1
- package/contacts.js +10 -10
- package/contacts.js.map +1 -1
- package/deviceAuthorization.js +7 -7
- package/deviceAuthorization.js.map +1 -1
- package/deviceKey.js +6 -6
- package/deviceKey.js.map +1 -1
- package/deviceSubnetRoutes.js +7 -7
- package/deviceSubnetRoutes.js.map +1 -1
- package/deviceTags.js +7 -7
- package/deviceTags.js.map +1 -1
- package/dnsNameservers.js +4 -4
- package/dnsNameservers.js.map +1 -1
- package/dnsPreferences.js +4 -4
- package/dnsPreferences.js.map +1 -1
- package/dnsSearchPaths.js +4 -4
- package/dnsSearchPaths.js.map +1 -1
- package/dnsSplitNameservers.js +7 -7
- package/dnsSplitNameservers.js.map +1 -1
- package/logstreamConfiguration.js +33 -33
- package/logstreamConfiguration.js.map +1 -1
- package/oauthClient.js +11 -11
- package/oauthClient.js.map +1 -1
- package/package.json +2 -2
- package/postureIntegration.js +13 -13
- package/postureIntegration.js.map +1 -1
- package/provider.d.ts +11 -23
- package/provider.js +7 -7
- package/provider.js.map +1 -1
- package/tailnetKey.js +21 -21
- package/tailnetKey.js.map +1 -1
- package/tailnetSettings.js +21 -21
- package/tailnetSettings.js.map +1 -1
- package/utilities.js +18 -29
- package/utilities.js.map +1 -1
- package/webhook.js +10 -10
- package/webhook.js.map +1 -1
|
@@ -63,7 +63,7 @@ class LogstreamConfiguration extends pulumi.CustomResource {
|
|
|
63
63
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
64
64
|
*/
|
|
65
65
|
static get(name, id, state, opts) {
|
|
66
|
-
return new LogstreamConfiguration(name, state,
|
|
66
|
+
return new LogstreamConfiguration(name, state, { ...opts, id: id });
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
69
|
* Returns true if the given object is an instance of LogstreamConfiguration. This is designed to work even
|
|
@@ -80,45 +80,45 @@ class LogstreamConfiguration extends pulumi.CustomResource {
|
|
|
80
80
|
opts = opts || {};
|
|
81
81
|
if (opts.id) {
|
|
82
82
|
const state = argsOrState;
|
|
83
|
-
resourceInputs["compressionFormat"] = state
|
|
84
|
-
resourceInputs["destinationType"] = state
|
|
85
|
-
resourceInputs["logType"] = state
|
|
86
|
-
resourceInputs["s3AccessKeyId"] = state
|
|
87
|
-
resourceInputs["s3AuthenticationType"] = state
|
|
88
|
-
resourceInputs["s3Bucket"] = state
|
|
89
|
-
resourceInputs["s3ExternalId"] = state
|
|
90
|
-
resourceInputs["s3KeyPrefix"] = state
|
|
91
|
-
resourceInputs["s3Region"] = state
|
|
92
|
-
resourceInputs["s3RoleArn"] = state
|
|
93
|
-
resourceInputs["s3SecretAccessKey"] = state
|
|
94
|
-
resourceInputs["token"] = state
|
|
95
|
-
resourceInputs["uploadPeriodMinutes"] = state
|
|
96
|
-
resourceInputs["url"] = state
|
|
97
|
-
resourceInputs["user"] = state
|
|
83
|
+
resourceInputs["compressionFormat"] = state?.compressionFormat;
|
|
84
|
+
resourceInputs["destinationType"] = state?.destinationType;
|
|
85
|
+
resourceInputs["logType"] = state?.logType;
|
|
86
|
+
resourceInputs["s3AccessKeyId"] = state?.s3AccessKeyId;
|
|
87
|
+
resourceInputs["s3AuthenticationType"] = state?.s3AuthenticationType;
|
|
88
|
+
resourceInputs["s3Bucket"] = state?.s3Bucket;
|
|
89
|
+
resourceInputs["s3ExternalId"] = state?.s3ExternalId;
|
|
90
|
+
resourceInputs["s3KeyPrefix"] = state?.s3KeyPrefix;
|
|
91
|
+
resourceInputs["s3Region"] = state?.s3Region;
|
|
92
|
+
resourceInputs["s3RoleArn"] = state?.s3RoleArn;
|
|
93
|
+
resourceInputs["s3SecretAccessKey"] = state?.s3SecretAccessKey;
|
|
94
|
+
resourceInputs["token"] = state?.token;
|
|
95
|
+
resourceInputs["uploadPeriodMinutes"] = state?.uploadPeriodMinutes;
|
|
96
|
+
resourceInputs["url"] = state?.url;
|
|
97
|
+
resourceInputs["user"] = state?.user;
|
|
98
98
|
}
|
|
99
99
|
else {
|
|
100
100
|
const args = argsOrState;
|
|
101
|
-
if (
|
|
101
|
+
if (args?.destinationType === undefined && !opts.urn) {
|
|
102
102
|
throw new Error("Missing required property 'destinationType'");
|
|
103
103
|
}
|
|
104
|
-
if (
|
|
104
|
+
if (args?.logType === undefined && !opts.urn) {
|
|
105
105
|
throw new Error("Missing required property 'logType'");
|
|
106
106
|
}
|
|
107
|
-
resourceInputs["compressionFormat"] = args
|
|
108
|
-
resourceInputs["destinationType"] = args
|
|
109
|
-
resourceInputs["logType"] = args
|
|
110
|
-
resourceInputs["s3AccessKeyId"] = args
|
|
111
|
-
resourceInputs["s3AuthenticationType"] = args
|
|
112
|
-
resourceInputs["s3Bucket"] = args
|
|
113
|
-
resourceInputs["s3ExternalId"] = args
|
|
114
|
-
resourceInputs["s3KeyPrefix"] = args
|
|
115
|
-
resourceInputs["s3Region"] = args
|
|
116
|
-
resourceInputs["s3RoleArn"] = args
|
|
117
|
-
resourceInputs["s3SecretAccessKey"] =
|
|
118
|
-
resourceInputs["token"] =
|
|
119
|
-
resourceInputs["uploadPeriodMinutes"] = args
|
|
120
|
-
resourceInputs["url"] = args
|
|
121
|
-
resourceInputs["user"] = args
|
|
107
|
+
resourceInputs["compressionFormat"] = args?.compressionFormat;
|
|
108
|
+
resourceInputs["destinationType"] = args?.destinationType;
|
|
109
|
+
resourceInputs["logType"] = args?.logType;
|
|
110
|
+
resourceInputs["s3AccessKeyId"] = args?.s3AccessKeyId;
|
|
111
|
+
resourceInputs["s3AuthenticationType"] = args?.s3AuthenticationType;
|
|
112
|
+
resourceInputs["s3Bucket"] = args?.s3Bucket;
|
|
113
|
+
resourceInputs["s3ExternalId"] = args?.s3ExternalId;
|
|
114
|
+
resourceInputs["s3KeyPrefix"] = args?.s3KeyPrefix;
|
|
115
|
+
resourceInputs["s3Region"] = args?.s3Region;
|
|
116
|
+
resourceInputs["s3RoleArn"] = args?.s3RoleArn;
|
|
117
|
+
resourceInputs["s3SecretAccessKey"] = args?.s3SecretAccessKey ? pulumi.secret(args.s3SecretAccessKey) : undefined;
|
|
118
|
+
resourceInputs["token"] = args?.token ? pulumi.secret(args.token) : undefined;
|
|
119
|
+
resourceInputs["uploadPeriodMinutes"] = args?.uploadPeriodMinutes;
|
|
120
|
+
resourceInputs["url"] = args?.url;
|
|
121
|
+
resourceInputs["user"] = args?.user;
|
|
122
122
|
}
|
|
123
123
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
124
124
|
const secretOpts = { additionalSecretOutputs: ["s3SecretAccessKey", "token"] };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logstreamConfiguration.js","sourceRoot":"","sources":["../logstreamConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"logstreamConfiguration.js","sourceRoot":"","sources":["../logstreamConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;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,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAClH,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,mBAAmB,EAAE,OAAO,CAAC,EAAE,CAAC;QAC/E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AAjJL,wDAkJC;AApIG,gBAAgB;AACO,mCAAY,GAAG,+DAA+D,CAAC"}
|
package/oauthClient.js
CHANGED
|
@@ -40,7 +40,7 @@ class OauthClient extends pulumi.CustomResource {
|
|
|
40
40
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
41
|
*/
|
|
42
42
|
static get(name, id, state, opts) {
|
|
43
|
-
return new OauthClient(name, state,
|
|
43
|
+
return new OauthClient(name, state, { ...opts, id: id });
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
46
|
* Returns true if the given object is an instance of OauthClient. This is designed to work even
|
|
@@ -57,21 +57,21 @@ class OauthClient extends pulumi.CustomResource {
|
|
|
57
57
|
opts = opts || {};
|
|
58
58
|
if (opts.id) {
|
|
59
59
|
const state = argsOrState;
|
|
60
|
-
resourceInputs["createdAt"] = state
|
|
61
|
-
resourceInputs["description"] = state
|
|
62
|
-
resourceInputs["key"] = state
|
|
63
|
-
resourceInputs["scopes"] = state
|
|
64
|
-
resourceInputs["tags"] = state
|
|
65
|
-
resourceInputs["userId"] = state
|
|
60
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
61
|
+
resourceInputs["description"] = state?.description;
|
|
62
|
+
resourceInputs["key"] = state?.key;
|
|
63
|
+
resourceInputs["scopes"] = state?.scopes;
|
|
64
|
+
resourceInputs["tags"] = state?.tags;
|
|
65
|
+
resourceInputs["userId"] = state?.userId;
|
|
66
66
|
}
|
|
67
67
|
else {
|
|
68
68
|
const args = argsOrState;
|
|
69
|
-
if (
|
|
69
|
+
if (args?.scopes === undefined && !opts.urn) {
|
|
70
70
|
throw new Error("Missing required property 'scopes'");
|
|
71
71
|
}
|
|
72
|
-
resourceInputs["description"] = args
|
|
73
|
-
resourceInputs["scopes"] = args
|
|
74
|
-
resourceInputs["tags"] = args
|
|
72
|
+
resourceInputs["description"] = args?.description;
|
|
73
|
+
resourceInputs["scopes"] = args?.scopes;
|
|
74
|
+
resourceInputs["tags"] = args?.tags;
|
|
75
75
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
76
76
|
resourceInputs["key"] = undefined /*out*/;
|
|
77
77
|
resourceInputs["userId"] = undefined /*out*/;
|
package/oauthClient.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauthClient.js","sourceRoot":"","sources":["../oauthClient.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,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"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.1756506970",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Tailscale cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "tailscale",
|
|
26
|
-
"version": "1.0.0-alpha.
|
|
26
|
+
"version": "1.0.0-alpha.1756506970"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/postureIntegration.js
CHANGED
|
@@ -41,7 +41,7 @@ class PostureIntegration extends pulumi.CustomResource {
|
|
|
41
41
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
42
|
*/
|
|
43
43
|
static get(name, id, state, opts) {
|
|
44
|
-
return new PostureIntegration(name, state,
|
|
44
|
+
return new PostureIntegration(name, state, { ...opts, id: id });
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* Returns true if the given object is an instance of PostureIntegration. This is designed to work even
|
|
@@ -58,25 +58,25 @@ class PostureIntegration extends pulumi.CustomResource {
|
|
|
58
58
|
opts = opts || {};
|
|
59
59
|
if (opts.id) {
|
|
60
60
|
const state = argsOrState;
|
|
61
|
-
resourceInputs["clientId"] = state
|
|
62
|
-
resourceInputs["clientSecret"] = state
|
|
63
|
-
resourceInputs["cloudId"] = state
|
|
64
|
-
resourceInputs["postureProvider"] = state
|
|
65
|
-
resourceInputs["tenantId"] = state
|
|
61
|
+
resourceInputs["clientId"] = state?.clientId;
|
|
62
|
+
resourceInputs["clientSecret"] = state?.clientSecret;
|
|
63
|
+
resourceInputs["cloudId"] = state?.cloudId;
|
|
64
|
+
resourceInputs["postureProvider"] = state?.postureProvider;
|
|
65
|
+
resourceInputs["tenantId"] = state?.tenantId;
|
|
66
66
|
}
|
|
67
67
|
else {
|
|
68
68
|
const args = argsOrState;
|
|
69
|
-
if (
|
|
69
|
+
if (args?.clientSecret === undefined && !opts.urn) {
|
|
70
70
|
throw new Error("Missing required property 'clientSecret'");
|
|
71
71
|
}
|
|
72
|
-
if (
|
|
72
|
+
if (args?.postureProvider === undefined && !opts.urn) {
|
|
73
73
|
throw new Error("Missing required property 'postureProvider'");
|
|
74
74
|
}
|
|
75
|
-
resourceInputs["clientId"] = args
|
|
76
|
-
resourceInputs["clientSecret"] = args
|
|
77
|
-
resourceInputs["cloudId"] = args
|
|
78
|
-
resourceInputs["postureProvider"] = args
|
|
79
|
-
resourceInputs["tenantId"] = args
|
|
75
|
+
resourceInputs["clientId"] = args?.clientId;
|
|
76
|
+
resourceInputs["clientSecret"] = args?.clientSecret;
|
|
77
|
+
resourceInputs["cloudId"] = args?.cloudId;
|
|
78
|
+
resourceInputs["postureProvider"] = args?.postureProvider;
|
|
79
|
+
resourceInputs["tenantId"] = args?.tenantId;
|
|
80
80
|
}
|
|
81
81
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
82
82
|
super(PostureIntegration.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postureIntegration.js","sourceRoot":"","sources":["../postureIntegration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"postureIntegration.js","sourceRoot":"","sources":["../postureIntegration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,kBAAmB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GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;aAClE;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAnFL,gDAoFC;AAtEG,gBAAgB;AACO,+BAAY,GAAG,uDAAuD,CAAC"}
|
package/provider.d.ts
CHANGED
|
@@ -12,28 +12,23 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
12
12
|
*/
|
|
13
13
|
static isInstance(obj: any): obj is Provider;
|
|
14
14
|
/**
|
|
15
|
-
* The API key to use for authenticating requests to the API. Can be set via the TAILSCALE_API_KEY environment variable.
|
|
16
|
-
* Conflicts with 'oauth_client_id' and 'oauth_client_secret'.
|
|
15
|
+
* The API key to use for authenticating requests to the API. Can be set via the TAILSCALE_API_KEY environment variable. Conflicts with 'oauth_client_id' and 'oauth_client_secret'.
|
|
17
16
|
*/
|
|
18
17
|
readonly apiKey: pulumi.Output<string | undefined>;
|
|
19
18
|
/**
|
|
20
|
-
* The base URL of the Tailscale API. Defaults to https://api.tailscale.com. Can be set via the TAILSCALE_BASE_URL
|
|
21
|
-
* environment variable.
|
|
19
|
+
* The base URL of the Tailscale API. Defaults to https://api.tailscale.com. Can be set via the TAILSCALE_BASE_URL environment variable.
|
|
22
20
|
*/
|
|
23
21
|
readonly baseUrl: pulumi.Output<string | undefined>;
|
|
24
22
|
/**
|
|
25
|
-
* The OAuth application's ID when using OAuth client credentials. Can be set via the TAILSCALE_OAUTH_CLIENT_ID environment
|
|
26
|
-
* variable. Both 'oauth_client_id' and 'oauth_client_secret' must be set. Conflicts with 'api_key'.
|
|
23
|
+
* The OAuth application's ID when using OAuth client credentials. Can be set via the TAILSCALE_OAUTH_CLIENT_ID environment variable. Both 'oauth_client_id' and 'oauth_client_secret' must be set. Conflicts with 'api_key'.
|
|
27
24
|
*/
|
|
28
25
|
readonly oauthClientId: pulumi.Output<string | undefined>;
|
|
29
26
|
/**
|
|
30
|
-
* The OAuth application's secret when using OAuth client credentials. Can be set via the TAILSCALE_OAUTH_CLIENT_SECRET
|
|
31
|
-
* environment variable. Both 'oauth_client_id' and 'oauth_client_secret' must be set. Conflicts with 'api_key'.
|
|
27
|
+
* The OAuth application's secret when using OAuth client credentials. Can be set via the TAILSCALE_OAUTH_CLIENT_SECRET environment variable. Both 'oauth_client_id' and 'oauth_client_secret' must be set. Conflicts with 'api_key'.
|
|
32
28
|
*/
|
|
33
29
|
readonly oauthClientSecret: pulumi.Output<string | undefined>;
|
|
34
30
|
/**
|
|
35
|
-
* The organization name of the Tailnet in which to perform actions. Can be set via the TAILSCALE_TAILNET environment
|
|
36
|
-
* variable. Default is the tailnet that owns API credentials passed to the provider.
|
|
31
|
+
* The organization name of the Tailnet in which to perform actions. Can be set via the TAILSCALE_TAILNET environment variable. Default is the tailnet that owns API credentials passed to the provider.
|
|
37
32
|
*/
|
|
38
33
|
readonly tailnet: pulumi.Output<string | undefined>;
|
|
39
34
|
/**
|
|
@@ -58,34 +53,27 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
58
53
|
*/
|
|
59
54
|
export interface ProviderArgs {
|
|
60
55
|
/**
|
|
61
|
-
* The API key to use for authenticating requests to the API. Can be set via the TAILSCALE_API_KEY environment variable.
|
|
62
|
-
* Conflicts with 'oauth_client_id' and 'oauth_client_secret'.
|
|
56
|
+
* The API key to use for authenticating requests to the API. Can be set via the TAILSCALE_API_KEY environment variable. Conflicts with 'oauth_client_id' and 'oauth_client_secret'.
|
|
63
57
|
*/
|
|
64
58
|
apiKey?: pulumi.Input<string>;
|
|
65
59
|
/**
|
|
66
|
-
* The base URL of the Tailscale API. Defaults to https://api.tailscale.com. Can be set via the TAILSCALE_BASE_URL
|
|
67
|
-
* environment variable.
|
|
60
|
+
* The base URL of the Tailscale API. Defaults to https://api.tailscale.com. Can be set via the TAILSCALE_BASE_URL environment variable.
|
|
68
61
|
*/
|
|
69
62
|
baseUrl?: pulumi.Input<string>;
|
|
70
63
|
/**
|
|
71
|
-
* The OAuth application's ID when using OAuth client credentials. Can be set via the TAILSCALE_OAUTH_CLIENT_ID environment
|
|
72
|
-
* variable. Both 'oauth_client_id' and 'oauth_client_secret' must be set. Conflicts with 'api_key'.
|
|
64
|
+
* The OAuth application's ID when using OAuth client credentials. Can be set via the TAILSCALE_OAUTH_CLIENT_ID environment variable. Both 'oauth_client_id' and 'oauth_client_secret' must be set. Conflicts with 'api_key'.
|
|
73
65
|
*/
|
|
74
66
|
oauthClientId?: pulumi.Input<string>;
|
|
75
67
|
/**
|
|
76
|
-
* The OAuth application's secret when using OAuth client credentials. Can be set via the TAILSCALE_OAUTH_CLIENT_SECRET
|
|
77
|
-
* environment variable. Both 'oauth_client_id' and 'oauth_client_secret' must be set. Conflicts with 'api_key'.
|
|
68
|
+
* The OAuth application's secret when using OAuth client credentials. Can be set via the TAILSCALE_OAUTH_CLIENT_SECRET environment variable. Both 'oauth_client_id' and 'oauth_client_secret' must be set. Conflicts with 'api_key'.
|
|
78
69
|
*/
|
|
79
70
|
oauthClientSecret?: pulumi.Input<string>;
|
|
80
71
|
/**
|
|
81
|
-
* The OAuth 2.0 scopes to request when for the access token generated using the supplied OAuth client credentials. See
|
|
82
|
-
* https://tailscale.com/kb/1215/oauth-clients/#scopes for available scopes. Only valid when both 'oauth_client_id' and
|
|
83
|
-
* 'oauth_client_secret' are set.
|
|
72
|
+
* The OAuth 2.0 scopes to request when for the access token generated using the supplied OAuth client credentials. See https://tailscale.com/kb/1215/oauth-clients/#scopes for available scopes. Only valid when both 'oauth_client_id' and 'oauth_client_secret' are set.
|
|
84
73
|
*/
|
|
85
74
|
scopes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
86
75
|
/**
|
|
87
|
-
* The organization name of the Tailnet in which to perform actions. Can be set via the TAILSCALE_TAILNET environment
|
|
88
|
-
* variable. Default is the tailnet that owns API credentials passed to the provider.
|
|
76
|
+
* The organization name of the Tailnet in which to perform actions. Can be set via the TAILSCALE_TAILNET environment variable. Default is the tailnet that owns API credentials passed to the provider.
|
|
89
77
|
*/
|
|
90
78
|
tailnet?: pulumi.Input<string>;
|
|
91
79
|
/**
|
package/provider.js
CHANGED
|
@@ -33,13 +33,13 @@ class Provider extends pulumi.ProviderResource {
|
|
|
33
33
|
let resourceInputs = {};
|
|
34
34
|
opts = opts || {};
|
|
35
35
|
{
|
|
36
|
-
resourceInputs["apiKey"] =
|
|
37
|
-
resourceInputs["baseUrl"] = args
|
|
38
|
-
resourceInputs["oauthClientId"] = args
|
|
39
|
-
resourceInputs["oauthClientSecret"] =
|
|
40
|
-
resourceInputs["scopes"] = pulumi.output(args
|
|
41
|
-
resourceInputs["tailnet"] = args
|
|
42
|
-
resourceInputs["userAgent"] = args
|
|
36
|
+
resourceInputs["apiKey"] = args?.apiKey ? pulumi.secret(args.apiKey) : undefined;
|
|
37
|
+
resourceInputs["baseUrl"] = args?.baseUrl;
|
|
38
|
+
resourceInputs["oauthClientId"] = args?.oauthClientId;
|
|
39
|
+
resourceInputs["oauthClientSecret"] = args?.oauthClientSecret ? pulumi.secret(args.oauthClientSecret) : undefined;
|
|
40
|
+
resourceInputs["scopes"] = pulumi.output(args?.scopes).apply(JSON.stringify);
|
|
41
|
+
resourceInputs["tailnet"] = args?.tailnet;
|
|
42
|
+
resourceInputs["userAgent"] = args?.userAgent;
|
|
43
43
|
}
|
|
44
44
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
45
45
|
const secretOpts = { additionalSecretOutputs: ["apiKey", "oauthClientSecret"] };
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IA2BD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,QAAQ,CAAC,GAA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ailnetKey.js
CHANGED
|
@@ -46,7 +46,7 @@ class TailnetKey extends pulumi.CustomResource {
|
|
|
46
46
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
47
|
*/
|
|
48
48
|
static get(name, id, state, opts) {
|
|
49
|
-
return new TailnetKey(name, state,
|
|
49
|
+
return new TailnetKey(name, state, { ...opts, id: id });
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
52
|
* Returns true if the given object is an instance of TailnetKey. This is designed to work even
|
|
@@ -63,29 +63,29 @@ class TailnetKey extends pulumi.CustomResource {
|
|
|
63
63
|
opts = opts || {};
|
|
64
64
|
if (opts.id) {
|
|
65
65
|
const state = argsOrState;
|
|
66
|
-
resourceInputs["createdAt"] = state
|
|
67
|
-
resourceInputs["description"] = state
|
|
68
|
-
resourceInputs["ephemeral"] = state
|
|
69
|
-
resourceInputs["expiresAt"] = state
|
|
70
|
-
resourceInputs["expiry"] = state
|
|
71
|
-
resourceInputs["invalid"] = state
|
|
72
|
-
resourceInputs["key"] = state
|
|
73
|
-
resourceInputs["preauthorized"] = state
|
|
74
|
-
resourceInputs["recreateIfInvalid"] = state
|
|
75
|
-
resourceInputs["reusable"] = state
|
|
76
|
-
resourceInputs["tags"] = state
|
|
77
|
-
resourceInputs["userId"] = state
|
|
66
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
67
|
+
resourceInputs["description"] = state?.description;
|
|
68
|
+
resourceInputs["ephemeral"] = state?.ephemeral;
|
|
69
|
+
resourceInputs["expiresAt"] = state?.expiresAt;
|
|
70
|
+
resourceInputs["expiry"] = state?.expiry;
|
|
71
|
+
resourceInputs["invalid"] = state?.invalid;
|
|
72
|
+
resourceInputs["key"] = state?.key;
|
|
73
|
+
resourceInputs["preauthorized"] = state?.preauthorized;
|
|
74
|
+
resourceInputs["recreateIfInvalid"] = state?.recreateIfInvalid;
|
|
75
|
+
resourceInputs["reusable"] = state?.reusable;
|
|
76
|
+
resourceInputs["tags"] = state?.tags;
|
|
77
|
+
resourceInputs["userId"] = state?.userId;
|
|
78
78
|
}
|
|
79
79
|
else {
|
|
80
80
|
const args = argsOrState;
|
|
81
|
-
resourceInputs["description"] = args
|
|
82
|
-
resourceInputs["ephemeral"] = args
|
|
83
|
-
resourceInputs["expiry"] = args
|
|
84
|
-
resourceInputs["preauthorized"] = args
|
|
85
|
-
resourceInputs["recreateIfInvalid"] = args
|
|
86
|
-
resourceInputs["reusable"] = args
|
|
87
|
-
resourceInputs["tags"] = args
|
|
88
|
-
resourceInputs["userId"] = args
|
|
81
|
+
resourceInputs["description"] = args?.description;
|
|
82
|
+
resourceInputs["ephemeral"] = args?.ephemeral;
|
|
83
|
+
resourceInputs["expiry"] = args?.expiry;
|
|
84
|
+
resourceInputs["preauthorized"] = args?.preauthorized;
|
|
85
|
+
resourceInputs["recreateIfInvalid"] = args?.recreateIfInvalid;
|
|
86
|
+
resourceInputs["reusable"] = args?.reusable;
|
|
87
|
+
resourceInputs["tags"] = args?.tags;
|
|
88
|
+
resourceInputs["userId"] = args?.userId;
|
|
89
89
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
90
90
|
resourceInputs["expiresAt"] = undefined /*out*/;
|
|
91
91
|
resourceInputs["invalid"] = undefined /*out*/;
|
package/tailnetKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tailnetKey.js","sourceRoot":"","sources":["../tailnetKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"tailnetKey.js","sourceRoot":"","sources":["../t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E,uBAAuB,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;QACxD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAzHL,gCA0HC;AA5GG,gBAAgB;AACO,uBAAY,GAAG,uCAAuC,CAAC"}
|
package/tailnetSettings.js
CHANGED
|
@@ -45,7 +45,7 @@ class TailnetSettings extends pulumi.CustomResource {
|
|
|
45
45
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
46
|
*/
|
|
47
47
|
static get(name, id, state, opts) {
|
|
48
|
-
return new TailnetSettings(name, state,
|
|
48
|
+
return new TailnetSettings(name, state, { ...opts, id: id });
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* Returns true if the given object is an instance of TailnetSettings. This is designed to work even
|
|
@@ -62,29 +62,29 @@ class TailnetSettings extends pulumi.CustomResource {
|
|
|
62
62
|
opts = opts || {};
|
|
63
63
|
if (opts.id) {
|
|
64
64
|
const state = argsOrState;
|
|
65
|
-
resourceInputs["aclsExternalLink"] = state
|
|
66
|
-
resourceInputs["aclsExternallyManagedOn"] = state
|
|
67
|
-
resourceInputs["devicesApprovalOn"] = state
|
|
68
|
-
resourceInputs["devicesAutoUpdatesOn"] = state
|
|
69
|
-
resourceInputs["devicesKeyDurationDays"] = state
|
|
70
|
-
resourceInputs["networkFlowLoggingOn"] = state
|
|
71
|
-
resourceInputs["postureIdentityCollectionOn"] = state
|
|
72
|
-
resourceInputs["regionalRoutingOn"] = state
|
|
73
|
-
resourceInputs["usersApprovalOn"] = state
|
|
74
|
-
resourceInputs["usersRoleAllowedToJoinExternalTailnet"] = state
|
|
65
|
+
resourceInputs["aclsExternalLink"] = state?.aclsExternalLink;
|
|
66
|
+
resourceInputs["aclsExternallyManagedOn"] = state?.aclsExternallyManagedOn;
|
|
67
|
+
resourceInputs["devicesApprovalOn"] = state?.devicesApprovalOn;
|
|
68
|
+
resourceInputs["devicesAutoUpdatesOn"] = state?.devicesAutoUpdatesOn;
|
|
69
|
+
resourceInputs["devicesKeyDurationDays"] = state?.devicesKeyDurationDays;
|
|
70
|
+
resourceInputs["networkFlowLoggingOn"] = state?.networkFlowLoggingOn;
|
|
71
|
+
resourceInputs["postureIdentityCollectionOn"] = state?.postureIdentityCollectionOn;
|
|
72
|
+
resourceInputs["regionalRoutingOn"] = state?.regionalRoutingOn;
|
|
73
|
+
resourceInputs["usersApprovalOn"] = state?.usersApprovalOn;
|
|
74
|
+
resourceInputs["usersRoleAllowedToJoinExternalTailnet"] = state?.usersRoleAllowedToJoinExternalTailnet;
|
|
75
75
|
}
|
|
76
76
|
else {
|
|
77
77
|
const args = argsOrState;
|
|
78
|
-
resourceInputs["aclsExternalLink"] = args
|
|
79
|
-
resourceInputs["aclsExternallyManagedOn"] = args
|
|
80
|
-
resourceInputs["devicesApprovalOn"] = args
|
|
81
|
-
resourceInputs["devicesAutoUpdatesOn"] = args
|
|
82
|
-
resourceInputs["devicesKeyDurationDays"] = args
|
|
83
|
-
resourceInputs["networkFlowLoggingOn"] = args
|
|
84
|
-
resourceInputs["postureIdentityCollectionOn"] = args
|
|
85
|
-
resourceInputs["regionalRoutingOn"] = args
|
|
86
|
-
resourceInputs["usersApprovalOn"] = args
|
|
87
|
-
resourceInputs["usersRoleAllowedToJoinExternalTailnet"] = args
|
|
78
|
+
resourceInputs["aclsExternalLink"] = args?.aclsExternalLink;
|
|
79
|
+
resourceInputs["aclsExternallyManagedOn"] = args?.aclsExternallyManagedOn;
|
|
80
|
+
resourceInputs["devicesApprovalOn"] = args?.devicesApprovalOn;
|
|
81
|
+
resourceInputs["devicesAutoUpdatesOn"] = args?.devicesAutoUpdatesOn;
|
|
82
|
+
resourceInputs["devicesKeyDurationDays"] = args?.devicesKeyDurationDays;
|
|
83
|
+
resourceInputs["networkFlowLoggingOn"] = args?.networkFlowLoggingOn;
|
|
84
|
+
resourceInputs["postureIdentityCollectionOn"] = args?.postureIdentityCollectionOn;
|
|
85
|
+
resourceInputs["regionalRoutingOn"] = args?.regionalRoutingOn;
|
|
86
|
+
resourceInputs["usersApprovalOn"] = args?.usersApprovalOn;
|
|
87
|
+
resourceInputs["usersRoleAllowedToJoinExternalTailnet"] = args?.usersRoleAllowedToJoinExternalTailnet;
|
|
88
88
|
}
|
|
89
89
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
90
90
|
super(TailnetSettings.__pulumiType, name, resourceInputs, opts);
|
package/tailnetSettings.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tailnetSettings.js","sourceRoot":"","sources":["../tailnetSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"tailnetSettings.js","sourceRoot":"","sources":["../tailnetSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC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,CAAC,GAAG,IAAI,EAAE,uBAAuB,CAAC;YAC1E,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,EAAE,sBAAsB,CAAC;YACxE,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,6BAA6B,CAAC,GAAG,IAAI,EAAE,2BAA2B,CAAC;YAClF,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,uCAAuC,CAAC,GAAG,IAAI,EAAE,qCAAqC,CAAC;SACzG;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAxGL,0CAyGC;AA3FG,gBAAgB;AACO,4BAAY,GAAG,iDAAiD,CAAC"}
|
package/utilities.js
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
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
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
6
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
7
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
8
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
9
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
10
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
5
|
exports.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
15
6
|
const runtime = require("@pulumi/pulumi/runtime");
|
|
@@ -77,26 +68,24 @@ function lazyLoad(exports, props, loadModule) {
|
|
|
77
68
|
}
|
|
78
69
|
exports.lazyLoad = lazyLoad;
|
|
79
70
|
/** @internal */
|
|
80
|
-
function callAsync(tok, props, res, opts) {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
return value;
|
|
99
|
-
});
|
|
71
|
+
async function callAsync(tok, props, res, opts) {
|
|
72
|
+
const o = runtime.call(tok, props, res);
|
|
73
|
+
const value = await o.promise(true /*withUnknowns*/);
|
|
74
|
+
const isKnown = await o.isKnown;
|
|
75
|
+
const isSecret = await o.isSecret;
|
|
76
|
+
const problem = !isKnown ? "an unknown value"
|
|
77
|
+
: isSecret ? "a secret value"
|
|
78
|
+
: undefined;
|
|
79
|
+
// Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
80
|
+
if (problem) {
|
|
81
|
+
throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
|
|
82
|
+
"This is an error in the provider, please report this to the provider developer.");
|
|
83
|
+
}
|
|
84
|
+
// Extract a single property if requested.
|
|
85
|
+
if (opts && opts.property) {
|
|
86
|
+
return value[opts.property];
|
|
87
|
+
}
|
|
88
|
+
return value;
|
|
100
89
|
}
|
|
101
90
|
exports.callAsync = callAsync;
|
|
102
91
|
//# sourceMappingURL=utilities.js.map
|
package/utilities.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAGjF,kDAAkD;AAGlD,SAAgB,MAAM,CAAC,GAAG,IAAc;IACpC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;QAClB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AARD,wBAQC;AAED,SAAgB,aAAa,CAAC,GAAG,IAAc;IAC3C,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1B,IAAI,CAAC,KAAK,SAAS,EAAE;QACjB,uGAAuG;QACvG,yDAAyD;QACzD,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,SAAS,EAAE;YAC1E,OAAO,IAAI,CAAC;SACf;QACD,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,SAAS,EAAE;YAC7E,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AAC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