@pulumi/cloudflare 5.9.0-alpha.1691731639 → 5.9.0-alpha.1692854882

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.
@@ -53,6 +53,10 @@ export declare class AccessServiceToken extends pulumi.CustomResource {
53
53
  * A secret for interacting with Access protocols. **Modifying this attribute will force creation of a new resource.**
54
54
  */
55
55
  readonly clientSecret: pulumi.Output<string>;
56
+ /**
57
+ * Length of time the service token is valid for. Available values: `8760h`, `17520h`, `43800h`, `87600h`, `forever`
58
+ */
59
+ readonly duration: pulumi.Output<string>;
56
60
  /**
57
61
  * Date when the token expires.
58
62
  */
@@ -94,6 +98,10 @@ export interface AccessServiceTokenState {
94
98
  * A secret for interacting with Access protocols. **Modifying this attribute will force creation of a new resource.**
95
99
  */
96
100
  clientSecret?: pulumi.Input<string>;
101
+ /**
102
+ * Length of time the service token is valid for. Available values: `8760h`, `17520h`, `43800h`, `87600h`, `forever`
103
+ */
104
+ duration?: pulumi.Input<string>;
97
105
  /**
98
106
  * Date when the token expires.
99
107
  */
@@ -119,6 +127,10 @@ export interface AccessServiceTokenArgs {
119
127
  * The account identifier to target for the resource. Conflicts with `zoneId`.
120
128
  */
121
129
  accountId?: pulumi.Input<string>;
130
+ /**
131
+ * Length of time the service token is valid for. Available values: `8760h`, `17520h`, `43800h`, `87600h`, `forever`
132
+ */
133
+ duration?: pulumi.Input<string>;
122
134
  /**
123
135
  * Refresh the token if terraform is run within the specified amount of days before expiration
124
136
  */
@@ -62,6 +62,7 @@ class AccessServiceToken extends pulumi.CustomResource {
62
62
  resourceInputs["accountId"] = state ? state.accountId : undefined;
63
63
  resourceInputs["clientId"] = state ? state.clientId : undefined;
64
64
  resourceInputs["clientSecret"] = state ? state.clientSecret : undefined;
65
+ resourceInputs["duration"] = state ? state.duration : undefined;
65
66
  resourceInputs["expiresAt"] = state ? state.expiresAt : undefined;
66
67
  resourceInputs["minDaysForRenewal"] = state ? state.minDaysForRenewal : undefined;
67
68
  resourceInputs["name"] = state ? state.name : undefined;
@@ -73,6 +74,7 @@ class AccessServiceToken extends pulumi.CustomResource {
73
74
  throw new Error("Missing required property 'name'");
74
75
  }
75
76
  resourceInputs["accountId"] = args ? args.accountId : undefined;
77
+ resourceInputs["duration"] = args ? args.duration : undefined;
76
78
  resourceInputs["minDaysForRenewal"] = args ? args.minDaysForRenewal : undefined;
77
79
  resourceInputs["name"] = args ? args.name : undefined;
78
80
  resourceInputs["zoneId"] = args ? args.zoneId : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"accessServiceToken.js","sourceRoot":"","sources":["../accessServiceToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;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,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAuCD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CA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AE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AApGL,gDAqGC;AAvFG,gBAAgB;AACO,+BAAY,GAAG,wDAAwD,CAAC"}
@@ -0,0 +1,196 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to configure Bot Management.
4
+ *
5
+ * Specifically, this resource can be used to manage:
6
+ *
7
+ * - **Bot Fight Mode**
8
+ * - **Super Bot Fight Mode**
9
+ * - **Bot Management for Enterprise**
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as cloudflare from "@pulumi/cloudflare";
16
+ *
17
+ * const example = new cloudflare.BotManagement("example", {
18
+ * enableJs: true,
19
+ * optimizeWordpress: true,
20
+ * sbfmDefinitelyAutomated: "block",
21
+ * sbfmLikelyAutomated: "managed_challenge",
22
+ * sbfmStaticResourceProtection: false,
23
+ * sbfmVerifiedBots: "allow",
24
+ * zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * ```sh
31
+ * $ pulumi import cloudflare:index/botManagement:BotManagement example <zone_id>
32
+ * ```
33
+ */
34
+ export declare class BotManagement extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing BotManagement resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BotManagementState, opts?: pulumi.CustomResourceOptions): BotManagement;
45
+ /**
46
+ * Returns true if the given object is an instance of BotManagement. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj: any): obj is BotManagement;
50
+ /**
51
+ * Automatically update to the newest bot detection models created by Cloudflare as they are released. [Learn more.](https://developers.cloudflare.com/bots/reference/machine-learning-models#model-versions-and-release-notes).
52
+ */
53
+ readonly autoUpdateModel: pulumi.Output<boolean | undefined>;
54
+ /**
55
+ * Use lightweight, invisible JavaScript detections to improve Bot Management. [Learn more about JavaScript Detections](https://developers.cloudflare.com/bots/reference/javascript-detections/).
56
+ */
57
+ readonly enableJs: pulumi.Output<boolean | undefined>;
58
+ /**
59
+ * Whether to enable Bot Fight Mode.
60
+ */
61
+ readonly fightMode: pulumi.Output<boolean | undefined>;
62
+ /**
63
+ * Whether to optimize Super Bot Fight Mode protections for Wordpress.
64
+ */
65
+ readonly optimizeWordpress: pulumi.Output<boolean | undefined>;
66
+ /**
67
+ * Super Bot Fight Mode (SBFM) action to take on definitely automated requests.
68
+ */
69
+ readonly sbfmDefinitelyAutomated: pulumi.Output<string | undefined>;
70
+ /**
71
+ * Super Bot Fight Mode (SBFM) action to take on likely automated requests.
72
+ */
73
+ readonly sbfmLikelyAutomated: pulumi.Output<string | undefined>;
74
+ /**
75
+ * Super Bot Fight Mode (SBFM) to enable static resource protection. Enable if static resources on your application need bot protection. Note: Static resource protection can also result in legitimate traffic being blocked.
76
+ */
77
+ readonly sbfmStaticResourceProtection: pulumi.Output<boolean | undefined>;
78
+ /**
79
+ * Super Bot Fight Mode (SBFM) action to take on verified bots requests.
80
+ */
81
+ readonly sbfmVerifiedBots: pulumi.Output<string | undefined>;
82
+ /**
83
+ * Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
84
+ */
85
+ readonly suppressSessionScore: pulumi.Output<boolean | undefined>;
86
+ /**
87
+ * A read-only field that indicates whether the zone currently is running the latest ML model.
88
+ */
89
+ readonly usingLatestModel: pulumi.Output<boolean>;
90
+ /**
91
+ * The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
92
+ */
93
+ readonly zoneId: pulumi.Output<string>;
94
+ /**
95
+ * Create a BotManagement resource with the given unique name, arguments, and options.
96
+ *
97
+ * @param name The _unique_ name of the resource.
98
+ * @param args The arguments to use to populate this resource's properties.
99
+ * @param opts A bag of options that control this resource's behavior.
100
+ */
101
+ constructor(name: string, args: BotManagementArgs, opts?: pulumi.CustomResourceOptions);
102
+ }
103
+ /**
104
+ * Input properties used for looking up and filtering BotManagement resources.
105
+ */
106
+ export interface BotManagementState {
107
+ /**
108
+ * Automatically update to the newest bot detection models created by Cloudflare as they are released. [Learn more.](https://developers.cloudflare.com/bots/reference/machine-learning-models#model-versions-and-release-notes).
109
+ */
110
+ autoUpdateModel?: pulumi.Input<boolean>;
111
+ /**
112
+ * Use lightweight, invisible JavaScript detections to improve Bot Management. [Learn more about JavaScript Detections](https://developers.cloudflare.com/bots/reference/javascript-detections/).
113
+ */
114
+ enableJs?: pulumi.Input<boolean>;
115
+ /**
116
+ * Whether to enable Bot Fight Mode.
117
+ */
118
+ fightMode?: pulumi.Input<boolean>;
119
+ /**
120
+ * Whether to optimize Super Bot Fight Mode protections for Wordpress.
121
+ */
122
+ optimizeWordpress?: pulumi.Input<boolean>;
123
+ /**
124
+ * Super Bot Fight Mode (SBFM) action to take on definitely automated requests.
125
+ */
126
+ sbfmDefinitelyAutomated?: pulumi.Input<string>;
127
+ /**
128
+ * Super Bot Fight Mode (SBFM) action to take on likely automated requests.
129
+ */
130
+ sbfmLikelyAutomated?: pulumi.Input<string>;
131
+ /**
132
+ * Super Bot Fight Mode (SBFM) to enable static resource protection. Enable if static resources on your application need bot protection. Note: Static resource protection can also result in legitimate traffic being blocked.
133
+ */
134
+ sbfmStaticResourceProtection?: pulumi.Input<boolean>;
135
+ /**
136
+ * Super Bot Fight Mode (SBFM) action to take on verified bots requests.
137
+ */
138
+ sbfmVerifiedBots?: pulumi.Input<string>;
139
+ /**
140
+ * Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
141
+ */
142
+ suppressSessionScore?: pulumi.Input<boolean>;
143
+ /**
144
+ * A read-only field that indicates whether the zone currently is running the latest ML model.
145
+ */
146
+ usingLatestModel?: pulumi.Input<boolean>;
147
+ /**
148
+ * The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
149
+ */
150
+ zoneId?: pulumi.Input<string>;
151
+ }
152
+ /**
153
+ * The set of arguments for constructing a BotManagement resource.
154
+ */
155
+ export interface BotManagementArgs {
156
+ /**
157
+ * Automatically update to the newest bot detection models created by Cloudflare as they are released. [Learn more.](https://developers.cloudflare.com/bots/reference/machine-learning-models#model-versions-and-release-notes).
158
+ */
159
+ autoUpdateModel?: pulumi.Input<boolean>;
160
+ /**
161
+ * Use lightweight, invisible JavaScript detections to improve Bot Management. [Learn more about JavaScript Detections](https://developers.cloudflare.com/bots/reference/javascript-detections/).
162
+ */
163
+ enableJs?: pulumi.Input<boolean>;
164
+ /**
165
+ * Whether to enable Bot Fight Mode.
166
+ */
167
+ fightMode?: pulumi.Input<boolean>;
168
+ /**
169
+ * Whether to optimize Super Bot Fight Mode protections for Wordpress.
170
+ */
171
+ optimizeWordpress?: pulumi.Input<boolean>;
172
+ /**
173
+ * Super Bot Fight Mode (SBFM) action to take on definitely automated requests.
174
+ */
175
+ sbfmDefinitelyAutomated?: pulumi.Input<string>;
176
+ /**
177
+ * Super Bot Fight Mode (SBFM) action to take on likely automated requests.
178
+ */
179
+ sbfmLikelyAutomated?: pulumi.Input<string>;
180
+ /**
181
+ * Super Bot Fight Mode (SBFM) to enable static resource protection. Enable if static resources on your application need bot protection. Note: Static resource protection can also result in legitimate traffic being blocked.
182
+ */
183
+ sbfmStaticResourceProtection?: pulumi.Input<boolean>;
184
+ /**
185
+ * Super Bot Fight Mode (SBFM) action to take on verified bots requests.
186
+ */
187
+ sbfmVerifiedBots?: pulumi.Input<string>;
188
+ /**
189
+ * Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
190
+ */
191
+ suppressSessionScore?: pulumi.Input<boolean>;
192
+ /**
193
+ * The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
194
+ */
195
+ zoneId: pulumi.Input<string>;
196
+ }
@@ -0,0 +1,104 @@
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.BotManagement = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides a resource to configure Bot Management.
10
+ *
11
+ * Specifically, this resource can be used to manage:
12
+ *
13
+ * - **Bot Fight Mode**
14
+ * - **Super Bot Fight Mode**
15
+ * - **Bot Management for Enterprise**
16
+ *
17
+ * ## Example Usage
18
+ *
19
+ * ```typescript
20
+ * import * as pulumi from "@pulumi/pulumi";
21
+ * import * as cloudflare from "@pulumi/cloudflare";
22
+ *
23
+ * const example = new cloudflare.BotManagement("example", {
24
+ * enableJs: true,
25
+ * optimizeWordpress: true,
26
+ * sbfmDefinitelyAutomated: "block",
27
+ * sbfmLikelyAutomated: "managed_challenge",
28
+ * sbfmStaticResourceProtection: false,
29
+ * sbfmVerifiedBots: "allow",
30
+ * zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
31
+ * });
32
+ * ```
33
+ *
34
+ * ## Import
35
+ *
36
+ * ```sh
37
+ * $ pulumi import cloudflare:index/botManagement:BotManagement example <zone_id>
38
+ * ```
39
+ */
40
+ class BotManagement extends pulumi.CustomResource {
41
+ /**
42
+ * Get an existing BotManagement resource's state with the given name, ID, and optional extra
43
+ * properties used to qualify the lookup.
44
+ *
45
+ * @param name The _unique_ name of the resulting resource.
46
+ * @param id The _unique_ provider ID of the resource to lookup.
47
+ * @param state Any extra arguments used during the lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name, id, state, opts) {
51
+ return new BotManagement(name, state, Object.assign(Object.assign({}, opts), { id: id }));
52
+ }
53
+ /**
54
+ * Returns true if the given object is an instance of BotManagement. This is designed to work even
55
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
56
+ */
57
+ static isInstance(obj) {
58
+ if (obj === undefined || obj === null) {
59
+ return false;
60
+ }
61
+ return obj['__pulumiType'] === BotManagement.__pulumiType;
62
+ }
63
+ constructor(name, argsOrState, opts) {
64
+ let resourceInputs = {};
65
+ opts = opts || {};
66
+ if (opts.id) {
67
+ const state = argsOrState;
68
+ resourceInputs["autoUpdateModel"] = state ? state.autoUpdateModel : undefined;
69
+ resourceInputs["enableJs"] = state ? state.enableJs : undefined;
70
+ resourceInputs["fightMode"] = state ? state.fightMode : undefined;
71
+ resourceInputs["optimizeWordpress"] = state ? state.optimizeWordpress : undefined;
72
+ resourceInputs["sbfmDefinitelyAutomated"] = state ? state.sbfmDefinitelyAutomated : undefined;
73
+ resourceInputs["sbfmLikelyAutomated"] = state ? state.sbfmLikelyAutomated : undefined;
74
+ resourceInputs["sbfmStaticResourceProtection"] = state ? state.sbfmStaticResourceProtection : undefined;
75
+ resourceInputs["sbfmVerifiedBots"] = state ? state.sbfmVerifiedBots : undefined;
76
+ resourceInputs["suppressSessionScore"] = state ? state.suppressSessionScore : undefined;
77
+ resourceInputs["usingLatestModel"] = state ? state.usingLatestModel : undefined;
78
+ resourceInputs["zoneId"] = state ? state.zoneId : undefined;
79
+ }
80
+ else {
81
+ const args = argsOrState;
82
+ if ((!args || args.zoneId === undefined) && !opts.urn) {
83
+ throw new Error("Missing required property 'zoneId'");
84
+ }
85
+ resourceInputs["autoUpdateModel"] = args ? args.autoUpdateModel : undefined;
86
+ resourceInputs["enableJs"] = args ? args.enableJs : undefined;
87
+ resourceInputs["fightMode"] = args ? args.fightMode : undefined;
88
+ resourceInputs["optimizeWordpress"] = args ? args.optimizeWordpress : undefined;
89
+ resourceInputs["sbfmDefinitelyAutomated"] = args ? args.sbfmDefinitelyAutomated : undefined;
90
+ resourceInputs["sbfmLikelyAutomated"] = args ? args.sbfmLikelyAutomated : undefined;
91
+ resourceInputs["sbfmStaticResourceProtection"] = args ? args.sbfmStaticResourceProtection : undefined;
92
+ resourceInputs["sbfmVerifiedBots"] = args ? args.sbfmVerifiedBots : undefined;
93
+ resourceInputs["suppressSessionScore"] = args ? args.suppressSessionScore : undefined;
94
+ resourceInputs["zoneId"] = args ? args.zoneId : undefined;
95
+ resourceInputs["usingLatestModel"] = undefined /*out*/;
96
+ }
97
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
98
+ super(BotManagement.__pulumiType, name, resourceInputs, opts);
99
+ }
100
+ }
101
+ exports.BotManagement = BotManagement;
102
+ /** @internal */
103
+ BotManagement.__pulumiType = 'cloudflare:index/botManagement:BotManagement';
104
+ //# sourceMappingURL=botManagement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"botManagement.js","sourceRoot":"","sources":["../botManagement.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAuDD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM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AAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC1D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AApHL,sCAqHC;AAvGG,gBAAgB;AACO,0BAAY,GAAG,8CAA8C,CAAC"}
@@ -66,7 +66,7 @@ export declare class DevicePostureIntegration extends pulumi.CustomResource {
66
66
  */
67
67
  readonly name: pulumi.Output<string>;
68
68
  /**
69
- * The device posture integration type. Available values: `workspaceOne`, `uptycs`, `crowdstrikeS2s`, `intune`, `kolide`, `sentineloneS2s`.
69
+ * The device posture integration type. Available values: `workspaceOne`, `uptycs`, `crowdstrikeS2s`, `intune`, `kolide`, `sentineloneS2s`, `taniumS2s`.
70
70
  */
71
71
  readonly type: pulumi.Output<string>;
72
72
  /**
@@ -100,7 +100,7 @@ export interface DevicePostureIntegrationState {
100
100
  */
101
101
  name?: pulumi.Input<string>;
102
102
  /**
103
- * The device posture integration type. Available values: `workspaceOne`, `uptycs`, `crowdstrikeS2s`, `intune`, `kolide`, `sentineloneS2s`.
103
+ * The device posture integration type. Available values: `workspaceOne`, `uptycs`, `crowdstrikeS2s`, `intune`, `kolide`, `sentineloneS2s`, `taniumS2s`.
104
104
  */
105
105
  type?: pulumi.Input<string>;
106
106
  }
@@ -126,7 +126,7 @@ export interface DevicePostureIntegrationArgs {
126
126
  */
127
127
  name: pulumi.Input<string>;
128
128
  /**
129
- * The device posture integration type. Available values: `workspaceOne`, `uptycs`, `crowdstrikeS2s`, `intune`, `kolide`, `sentineloneS2s`.
129
+ * The device posture integration type. Available values: `workspaceOne`, `uptycs`, `crowdstrikeS2s`, `intune`, `kolide`, `sentineloneS2s`, `taniumS2s`.
130
130
  */
131
131
  type: pulumi.Input<string>;
132
132
  }
@@ -24,10 +24,10 @@ export interface GetApiTokenPermissionGroupsResult {
24
24
  * Map of permissions for account level resources.
25
25
  */
26
26
  readonly account: {
27
- [key: string]: any;
27
+ [key: string]: string;
28
28
  };
29
29
  /**
30
- * The provider-assigned unique ID for this managed resource.
30
+ * Checksum of permissions.
31
31
  */
32
32
  readonly id: string;
33
33
  /**
@@ -36,18 +36,24 @@ export interface GetApiTokenPermissionGroupsResult {
36
36
  * @deprecated Use specific account, zone or user attributes instead.
37
37
  */
38
38
  readonly permissions: {
39
- [key: string]: any;
39
+ [key: string]: string;
40
+ };
41
+ /**
42
+ * Map of permissions for r2 level resources.
43
+ */
44
+ readonly r2: {
45
+ [key: string]: string;
40
46
  };
41
47
  /**
42
48
  * Map of permissions for user level resources.
43
49
  */
44
50
  readonly user: {
45
- [key: string]: any;
51
+ [key: string]: string;
46
52
  };
47
53
  /**
48
54
  * Map of permissions for zone level resources.
49
55
  */
50
56
  readonly zone: {
51
- [key: string]: any;
57
+ [key: string]: string;
52
58
  };
53
59
  }
package/getUser.d.ts ADDED
@@ -0,0 +1,41 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Use this data source to retrieve information about the currently authenticated user.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as cloudflare from "@pulumi/cloudflare";
10
+ *
11
+ * const me = cloudflare.getUser({});
12
+ * const all = cloudflare.getApiTokenPermissionGroups({});
13
+ * const example = new cloudflare.ApiToken("example", {
14
+ * name: "Terraform Cloud (Terraform)",
15
+ * policies: [{
16
+ * permissionGroups: [all.then(all => all.user?.["User Details Read"])],
17
+ * resources: me.then(me => {
18
+ * [`com.cloudflare.api.user.${me.id}`]: "*",
19
+ * }),
20
+ * }],
21
+ * });
22
+ * ```
23
+ */
24
+ export declare function getUser(opts?: pulumi.InvokeOptions): Promise<GetUserResult>;
25
+ /**
26
+ * A collection of values returned by getUser.
27
+ */
28
+ export interface GetUserResult {
29
+ /**
30
+ * The user's email address.
31
+ */
32
+ readonly email: string;
33
+ /**
34
+ * The user's unique identifier.
35
+ */
36
+ readonly id: string;
37
+ /**
38
+ * The user's username.
39
+ */
40
+ readonly username: string;
41
+ }
package/getUser.js ADDED
@@ -0,0 +1,35 @@
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.getUser = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Use this data source to retrieve information about the currently authenticated user.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as cloudflare from "@pulumi/cloudflare";
16
+ *
17
+ * const me = cloudflare.getUser({});
18
+ * const all = cloudflare.getApiTokenPermissionGroups({});
19
+ * const example = new cloudflare.ApiToken("example", {
20
+ * name: "Terraform Cloud (Terraform)",
21
+ * policies: [{
22
+ * permissionGroups: [all.then(all => all.user?.["User Details Read"])],
23
+ * resources: me.then(me => {
24
+ * [`com.cloudflare.api.user.${me.id}`]: "*",
25
+ * }),
26
+ * }],
27
+ * });
28
+ * ```
29
+ */
30
+ function getUser(opts) {
31
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
32
+ return pulumi.runtime.invoke("cloudflare:index/getUser:getUser", {}, opts);
33
+ }
34
+ exports.getUser = getUser;
35
+ //# sourceMappingURL=getUser.js.map
package/getUser.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,OAAO,CAAC,IAA2B;IAE/C,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE,EAChE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0BAKC"}
package/greTunnel.d.ts CHANGED
@@ -10,7 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
10
10
  *
11
11
  * const example = new cloudflare.GreTunnel("example", {
12
12
  * accountId: "f037e56e89293a057740de681ac9abbe",
13
- * cloudflareGreEndpoint: "203.0.113.1",
13
+ * cloudflareGreEndpoint: "203.0.113.2",
14
14
  * customerGreEndpoint: "203.0.113.1",
15
15
  * description: "Tunnel for ISP X",
16
16
  * healthCheckEnabled: true,
package/greTunnel.js CHANGED
@@ -16,7 +16,7 @@ const utilities = require("./utilities");
16
16
  *
17
17
  * const example = new cloudflare.GreTunnel("example", {
18
18
  * accountId: "f037e56e89293a057740de681ac9abbe",
19
- * cloudflareGreEndpoint: "203.0.113.1",
19
+ * cloudflareGreEndpoint: "203.0.113.2",
20
20
  * customerGreEndpoint: "203.0.113.1",
21
21
  * description: "Tunnel for ISP X",
22
22
  * healthCheckEnabled: true,
@@ -0,0 +1,111 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a Cloudflare per-hostname TLS setting resource. Used to set TLS settings for hostnames under the specified zone.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as cloudflare from "@pulumi/cloudflare";
10
+ *
11
+ * const example = new cloudflare.HostnameTlsSetting("example", {
12
+ * hostname: "sub.example.com",
13
+ * setting: "min_tls_version",
14
+ * value: "1.2",
15
+ * zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
16
+ * });
17
+ * ```
18
+ *
19
+ * ## Import
20
+ *
21
+ * ```sh
22
+ * $ pulumi import cloudflare:index/hostnameTlsSetting:HostnameTlsSetting example <zone_id>/<hostname>/<setting_name>
23
+ * ```
24
+ */
25
+ export declare class HostnameTlsSetting extends pulumi.CustomResource {
26
+ /**
27
+ * Get an existing HostnameTlsSetting resource's state with the given name, ID, and optional extra
28
+ * properties used to qualify the lookup.
29
+ *
30
+ * @param name The _unique_ name of the resulting resource.
31
+ * @param id The _unique_ provider ID of the resource to lookup.
32
+ * @param state Any extra arguments used during the lookup.
33
+ * @param opts Optional settings to control the behavior of the CustomResource.
34
+ */
35
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HostnameTlsSettingState, opts?: pulumi.CustomResourceOptions): HostnameTlsSetting;
36
+ /**
37
+ * Returns true if the given object is an instance of HostnameTlsSetting. This is designed to work even
38
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
39
+ */
40
+ static isInstance(obj: any): obj is HostnameTlsSetting;
41
+ readonly createdAt: pulumi.Output<string>;
42
+ /**
43
+ * Hostname that belongs to this zone name. **Modifying this attribute will force creation of a new resource.**
44
+ */
45
+ readonly hostname: pulumi.Output<string>;
46
+ /**
47
+ * TLS setting name. **Modifying this attribute will force creation of a new resource.**
48
+ */
49
+ readonly setting: pulumi.Output<string>;
50
+ readonly updatedAt: pulumi.Output<string>;
51
+ /**
52
+ * TLS setting value.
53
+ */
54
+ readonly value: pulumi.Output<string>;
55
+ /**
56
+ * The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
57
+ */
58
+ readonly zoneId: pulumi.Output<string>;
59
+ /**
60
+ * Create a HostnameTlsSetting resource with the given unique name, arguments, and options.
61
+ *
62
+ * @param name The _unique_ name of the resource.
63
+ * @param args The arguments to use to populate this resource's properties.
64
+ * @param opts A bag of options that control this resource's behavior.
65
+ */
66
+ constructor(name: string, args: HostnameTlsSettingArgs, opts?: pulumi.CustomResourceOptions);
67
+ }
68
+ /**
69
+ * Input properties used for looking up and filtering HostnameTlsSetting resources.
70
+ */
71
+ export interface HostnameTlsSettingState {
72
+ createdAt?: pulumi.Input<string>;
73
+ /**
74
+ * Hostname that belongs to this zone name. **Modifying this attribute will force creation of a new resource.**
75
+ */
76
+ hostname?: pulumi.Input<string>;
77
+ /**
78
+ * TLS setting name. **Modifying this attribute will force creation of a new resource.**
79
+ */
80
+ setting?: pulumi.Input<string>;
81
+ updatedAt?: pulumi.Input<string>;
82
+ /**
83
+ * TLS setting value.
84
+ */
85
+ value?: pulumi.Input<string>;
86
+ /**
87
+ * The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
88
+ */
89
+ zoneId?: pulumi.Input<string>;
90
+ }
91
+ /**
92
+ * The set of arguments for constructing a HostnameTlsSetting resource.
93
+ */
94
+ export interface HostnameTlsSettingArgs {
95
+ /**
96
+ * Hostname that belongs to this zone name. **Modifying this attribute will force creation of a new resource.**
97
+ */
98
+ hostname: pulumi.Input<string>;
99
+ /**
100
+ * TLS setting name. **Modifying this attribute will force creation of a new resource.**
101
+ */
102
+ setting: pulumi.Input<string>;
103
+ /**
104
+ * TLS setting value.
105
+ */
106
+ value: pulumi.Input<string>;
107
+ /**
108
+ * The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
109
+ */
110
+ zoneId: pulumi.Input<string>;
111
+ }