@pulumi/alicloud 3.27.0 → 3.28.0
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/adb/dbcluster.d.ts +1 -1
- package/adb/dbcluster.js +1 -1
- package/alikafka/instance.d.ts +37 -9
- package/alikafka/instance.js +4 -0
- package/alikafka/instance.js.map +1 -1
- package/apigateway/backend.d.ts +116 -0
- package/apigateway/backend.js +93 -0
- package/apigateway/backend.js.map +1 -0
- package/apigateway/getBackends.d.ts +69 -0
- package/apigateway/getBackends.js +44 -0
- package/apigateway/getBackends.js.map +1 -0
- package/apigateway/index.d.ts +2 -0
- package/apigateway/index.js +6 -0
- package/apigateway/index.js.map +1 -1
- package/cloudstoragegateway/gatewayBlockVolume.d.ts +3 -3
- package/cloudstoragegateway/gatewayFileShare.d.ts +3 -3
- package/cms/alarm.d.ts +18 -0
- package/cms/alarm.js +2 -0
- package/cms/alarm.js.map +1 -1
- package/cs/nodePool.d.ts +76 -9
- package/cs/nodePool.js +47 -0
- package/cs/nodePool.js.map +1 -1
- package/ddos/bgpIp.d.ts +113 -0
- package/ddos/bgpIp.js +94 -0
- package/ddos/bgpIp.js.map +1 -0
- package/ddos/getDdosBgpIps.d.ts +92 -0
- package/ddos/getDdosBgpIps.js +51 -0
- package/ddos/getDdosBgpIps.js.map +1 -0
- package/ddos/index.d.ts +2 -0
- package/ddos/index.js +6 -0
- package/ddos/index.js.map +1 -1
- package/ecs/autoProvisioningGroup.d.ts +3 -3
- package/ecs/disk.d.ts +1 -1
- package/ecs/ecsDisk.d.ts +1 -1
- package/ecs/ecsInstanceSet.d.ts +3 -3
- package/ecs/instance.d.ts +36 -0
- package/ecs/instance.js +6 -0
- package/ecs/instance.js.map +1 -1
- package/fc/functionAsyncInvokeConfig.d.ts +3 -3
- package/fc/index.d.ts +1 -0
- package/fc/index.js +5 -0
- package/fc/index.js.map +1 -1
- package/fc/layerVersion.d.ts +177 -0
- package/fc/layerVersion.js +100 -0
- package/fc/layerVersion.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/polardb/getGlobalDatabaseNetworks.d.ts +101 -0
- package/polardb/getGlobalDatabaseNetworks.js +53 -0
- package/polardb/getGlobalDatabaseNetworks.js.map +1 -0
- package/polardb/globalDatabaseNetwork.d.ts +117 -0
- package/polardb/globalDatabaseNetwork.js +105 -0
- package/polardb/globalDatabaseNetwork.js.map +1 -0
- package/polardb/index.d.ts +2 -0
- package/polardb/index.js +6 -0
- package/polardb/index.js.map +1 -1
- package/resourcemanager/account.d.ts +18 -0
- package/resourcemanager/account.js +2 -0
- package/resourcemanager/account.js.map +1 -1
- package/resourcemanager/delegatedAdministrator.d.ts +92 -0
- package/resourcemanager/delegatedAdministrator.js +89 -0
- package/resourcemanager/delegatedAdministrator.js.map +1 -0
- package/resourcemanager/getDelegatedAdministrators.d.ts +70 -0
- package/resourcemanager/getDelegatedAdministrators.js +46 -0
- package/resourcemanager/getDelegatedAdministrators.js.map +1 -0
- package/resourcemanager/index.d.ts +2 -0
- package/resourcemanager/index.js +6 -0
- package/resourcemanager/index.js.map +1 -1
- package/types/input.d.ts +221 -41
- package/types/output.d.ts +497 -1
- package/vod/domain.d.ts +2 -2
- package/vpc/getIpv4Gateways.d.ts +94 -0
- package/vpc/getIpv4Gateways.js +49 -0
- package/vpc/getIpv4Gateways.js.map +1 -0
- package/vpc/index.d.ts +2 -0
- package/vpc/index.js +6 -0
- package/vpc/index.js.map +1 -1
- package/vpc/ipv4Gateway.d.ts +124 -0
- package/vpc/ipv4Gateway.js +92 -0
- package/vpc/ipv4Gateway.js.map +1 -0
- package/vpc/natIp.d.ts +7 -1
- package/vpc/natIp.js.map +1 -1
- package/vpc/subnet.d.ts +4 -0
- package/vpc/subnet.js +6 -0
- package/vpc/subnet.js.map +1 -1
- package/vpn/gatewayVpnAttachment.d.ts +260 -0
- package/vpn/gatewayVpnAttachment.js +153 -0
- package/vpn/gatewayVpnAttachment.js.map +1 -0
- package/vpn/getGatewayVpnAttachments.d.ts +91 -0
- package/vpn/getGatewayVpnAttachments.js +50 -0
- package/vpn/getGatewayVpnAttachments.js.map +1 -0
- package/vpn/index.d.ts +2 -0
- package/vpn/index.js +6 -0
- package/vpn/index.js.map +1 -1
package/adb/dbcluster.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
32
32
|
* });
|
|
33
33
|
* const _this = new alicloud.adb.DBCluster("this", {
|
|
34
34
|
* dbClusterCategory: "Cluster",
|
|
35
|
-
*
|
|
35
|
+
* dbNodeClass: "C8",
|
|
36
36
|
* dbNodeCount: 4,
|
|
37
37
|
* dbNodeStorage: 400,
|
|
38
38
|
* mode: "reserver",
|
package/adb/dbcluster.js
CHANGED
|
@@ -38,7 +38,7 @@ const utilities = require("../utilities");
|
|
|
38
38
|
* });
|
|
39
39
|
* const _this = new alicloud.adb.DBCluster("this", {
|
|
40
40
|
* dbClusterCategory: "Cluster",
|
|
41
|
-
*
|
|
41
|
+
* dbNodeClass: "C8",
|
|
42
42
|
* dbNodeCount: 4,
|
|
43
43
|
* dbNodeStorage: 400,
|
|
44
44
|
* mode: "reserver",
|
package/alikafka/instance.d.ts
CHANGED
|
@@ -67,7 +67,7 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
67
67
|
*/
|
|
68
68
|
static isInstance(obj: any): obj is Instance;
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* The basic config for this instance. The input should be json type, only the following key allowed: enable.acl, enable.vpc_sasl_ssl, kafka.log.retention.hours, kafka.message.max.bytes.
|
|
71
71
|
*/
|
|
72
72
|
readonly config: pulumi.Output<string>;
|
|
73
73
|
/**
|
|
@@ -96,6 +96,10 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
96
96
|
* The max value of io of the instance. When modify this value, it only support adjust to a greater value.
|
|
97
97
|
*/
|
|
98
98
|
readonly ioMax: pulumi.Output<number>;
|
|
99
|
+
/**
|
|
100
|
+
* The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
|
|
101
|
+
*/
|
|
102
|
+
readonly kmsKeyId: pulumi.Output<string | undefined>;
|
|
99
103
|
/**
|
|
100
104
|
* Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.
|
|
101
105
|
*/
|
|
@@ -105,17 +109,25 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
105
109
|
*/
|
|
106
110
|
readonly paidType: pulumi.Output<string | undefined>;
|
|
107
111
|
/**
|
|
108
|
-
*
|
|
112
|
+
* The ID of security group for this instance. If the security group is empty, system will create a default one.
|
|
109
113
|
*/
|
|
110
114
|
readonly securityGroup: pulumi.Output<string>;
|
|
111
115
|
/**
|
|
112
|
-
*
|
|
116
|
+
* The kafka openSource version for this instance. Only 0.10.2 or 2.2.0 is allowed, default is 0.10.2.
|
|
113
117
|
*/
|
|
114
118
|
readonly serviceVersion: pulumi.Output<string>;
|
|
115
119
|
/**
|
|
116
120
|
* The spec type of the instance. Support two type, "normal": normal version instance, "professional": professional version instance. Default is normal. When modify this value, it only support adjust from normal to professional. Note only pre paid type instance support professional specific type.
|
|
117
121
|
*/
|
|
118
122
|
readonly specType: pulumi.Output<string | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* The status of the instance. Valid values:
|
|
125
|
+
* - 0: pending
|
|
126
|
+
* - 1: deploying
|
|
127
|
+
* - 5: running
|
|
128
|
+
* - 15: expired
|
|
129
|
+
*/
|
|
130
|
+
readonly status: pulumi.Output<number>;
|
|
119
131
|
/**
|
|
120
132
|
* A mapping of tags to assign to the resource.
|
|
121
133
|
*/
|
|
@@ -152,7 +164,7 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
152
164
|
*/
|
|
153
165
|
export interface InstanceState {
|
|
154
166
|
/**
|
|
155
|
-
*
|
|
167
|
+
* The basic config for this instance. The input should be json type, only the following key allowed: enable.acl, enable.vpc_sasl_ssl, kafka.log.retention.hours, kafka.message.max.bytes.
|
|
156
168
|
*/
|
|
157
169
|
config?: pulumi.Input<string>;
|
|
158
170
|
/**
|
|
@@ -181,6 +193,10 @@ export interface InstanceState {
|
|
|
181
193
|
* The max value of io of the instance. When modify this value, it only support adjust to a greater value.
|
|
182
194
|
*/
|
|
183
195
|
ioMax?: pulumi.Input<number>;
|
|
196
|
+
/**
|
|
197
|
+
* The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
|
|
198
|
+
*/
|
|
199
|
+
kmsKeyId?: pulumi.Input<string>;
|
|
184
200
|
/**
|
|
185
201
|
* Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.
|
|
186
202
|
*/
|
|
@@ -190,17 +206,25 @@ export interface InstanceState {
|
|
|
190
206
|
*/
|
|
191
207
|
paidType?: pulumi.Input<string>;
|
|
192
208
|
/**
|
|
193
|
-
*
|
|
209
|
+
* The ID of security group for this instance. If the security group is empty, system will create a default one.
|
|
194
210
|
*/
|
|
195
211
|
securityGroup?: pulumi.Input<string>;
|
|
196
212
|
/**
|
|
197
|
-
*
|
|
213
|
+
* The kafka openSource version for this instance. Only 0.10.2 or 2.2.0 is allowed, default is 0.10.2.
|
|
198
214
|
*/
|
|
199
215
|
serviceVersion?: pulumi.Input<string>;
|
|
200
216
|
/**
|
|
201
217
|
* The spec type of the instance. Support two type, "normal": normal version instance, "professional": professional version instance. Default is normal. When modify this value, it only support adjust from normal to professional. Note only pre paid type instance support professional specific type.
|
|
202
218
|
*/
|
|
203
219
|
specType?: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* The status of the instance. Valid values:
|
|
222
|
+
* - 0: pending
|
|
223
|
+
* - 1: deploying
|
|
224
|
+
* - 5: running
|
|
225
|
+
* - 15: expired
|
|
226
|
+
*/
|
|
227
|
+
status?: pulumi.Input<number>;
|
|
204
228
|
/**
|
|
205
229
|
* A mapping of tags to assign to the resource.
|
|
206
230
|
*/
|
|
@@ -229,7 +253,7 @@ export interface InstanceState {
|
|
|
229
253
|
*/
|
|
230
254
|
export interface InstanceArgs {
|
|
231
255
|
/**
|
|
232
|
-
*
|
|
256
|
+
* The basic config for this instance. The input should be json type, only the following key allowed: enable.acl, enable.vpc_sasl_ssl, kafka.log.retention.hours, kafka.message.max.bytes.
|
|
233
257
|
*/
|
|
234
258
|
config?: pulumi.Input<string>;
|
|
235
259
|
/**
|
|
@@ -254,6 +278,10 @@ export interface InstanceArgs {
|
|
|
254
278
|
* The max value of io of the instance. When modify this value, it only support adjust to a greater value.
|
|
255
279
|
*/
|
|
256
280
|
ioMax: pulumi.Input<number>;
|
|
281
|
+
/**
|
|
282
|
+
* The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
|
|
283
|
+
*/
|
|
284
|
+
kmsKeyId?: pulumi.Input<string>;
|
|
257
285
|
/**
|
|
258
286
|
* Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.
|
|
259
287
|
*/
|
|
@@ -263,11 +291,11 @@ export interface InstanceArgs {
|
|
|
263
291
|
*/
|
|
264
292
|
paidType?: pulumi.Input<string>;
|
|
265
293
|
/**
|
|
266
|
-
*
|
|
294
|
+
* The ID of security group for this instance. If the security group is empty, system will create a default one.
|
|
267
295
|
*/
|
|
268
296
|
securityGroup?: pulumi.Input<string>;
|
|
269
297
|
/**
|
|
270
|
-
*
|
|
298
|
+
* The kafka openSource version for this instance. Only 0.10.2 or 2.2.0 is allowed, default is 0.10.2.
|
|
271
299
|
*/
|
|
272
300
|
serviceVersion?: pulumi.Input<string>;
|
|
273
301
|
/**
|
package/alikafka/instance.js
CHANGED
|
@@ -69,11 +69,13 @@ class Instance extends pulumi.CustomResource {
|
|
|
69
69
|
resourceInputs["eipMax"] = state ? state.eipMax : undefined;
|
|
70
70
|
resourceInputs["endPoint"] = state ? state.endPoint : undefined;
|
|
71
71
|
resourceInputs["ioMax"] = state ? state.ioMax : undefined;
|
|
72
|
+
resourceInputs["kmsKeyId"] = state ? state.kmsKeyId : undefined;
|
|
72
73
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
73
74
|
resourceInputs["paidType"] = state ? state.paidType : undefined;
|
|
74
75
|
resourceInputs["securityGroup"] = state ? state.securityGroup : undefined;
|
|
75
76
|
resourceInputs["serviceVersion"] = state ? state.serviceVersion : undefined;
|
|
76
77
|
resourceInputs["specType"] = state ? state.specType : undefined;
|
|
78
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
77
79
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
78
80
|
resourceInputs["topicQuota"] = state ? state.topicQuota : undefined;
|
|
79
81
|
resourceInputs["vpcId"] = state ? state.vpcId : undefined;
|
|
@@ -106,6 +108,7 @@ class Instance extends pulumi.CustomResource {
|
|
|
106
108
|
resourceInputs["diskType"] = args ? args.diskType : undefined;
|
|
107
109
|
resourceInputs["eipMax"] = args ? args.eipMax : undefined;
|
|
108
110
|
resourceInputs["ioMax"] = args ? args.ioMax : undefined;
|
|
111
|
+
resourceInputs["kmsKeyId"] = args ? args.kmsKeyId : undefined;
|
|
109
112
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
110
113
|
resourceInputs["paidType"] = args ? args.paidType : undefined;
|
|
111
114
|
resourceInputs["securityGroup"] = args ? args.securityGroup : undefined;
|
|
@@ -115,6 +118,7 @@ class Instance extends pulumi.CustomResource {
|
|
|
115
118
|
resourceInputs["topicQuota"] = args ? args.topicQuota : undefined;
|
|
116
119
|
resourceInputs["vswitchId"] = args ? args.vswitchId : undefined;
|
|
117
120
|
resourceInputs["endPoint"] = undefined /*out*/;
|
|
121
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
118
122
|
resourceInputs["vpcId"] = undefined /*out*/;
|
|
119
123
|
resourceInputs["zoneId"] = undefined /*out*/;
|
|
120
124
|
}
|
package/alikafka/instance.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../../alikafka/instance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACz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CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BA0LC;AA5KG,gBAAgB;AACO,qBAAY,GAAG,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a Api Gateway Backend resource.
|
|
4
|
+
*
|
|
5
|
+
* For information about Api Gateway Backend and how to use it, see [What is Backend](https://www.alibabacloud.com/help/zh/api-gateway/latest/api-doc-cloudapi-2016-07-14-api-doc-createbackend).
|
|
6
|
+
*
|
|
7
|
+
* > **NOTE:** Available in v1.181.0+.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* Basic Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
16
|
+
*
|
|
17
|
+
* const config = new pulumi.Config();
|
|
18
|
+
* const name1 = config.get("name1") || "tf-testAccBackend";
|
|
19
|
+
* const _default = new alicloud.apigateway.Backend("default", {
|
|
20
|
+
* backendName: _var.name,
|
|
21
|
+
* description: _var.name,
|
|
22
|
+
* backendType: "HTTP",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* Api Gateway Backend can be imported using the id, e.g.
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import alicloud:apigateway/backend:Backend example <id>
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare class Backend extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing Backend 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?: BackendState, opts?: pulumi.CustomResourceOptions): Backend;
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of Backend. 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 Backend;
|
|
50
|
+
/**
|
|
51
|
+
* The name of the Backend.
|
|
52
|
+
*/
|
|
53
|
+
readonly backendName: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_HTTP`, `OSS`, `MOCK`.
|
|
56
|
+
*/
|
|
57
|
+
readonly backendType: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Whether to create an Event bus service association role.
|
|
60
|
+
*/
|
|
61
|
+
readonly createEventBridgeServiceLinkedRole: pulumi.Output<boolean | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* The description of the Backend.
|
|
64
|
+
*/
|
|
65
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* Create a Backend resource with the given unique name, arguments, and options.
|
|
68
|
+
*
|
|
69
|
+
* @param name The _unique_ name of the resource.
|
|
70
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
71
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
72
|
+
*/
|
|
73
|
+
constructor(name: string, args: BackendArgs, opts?: pulumi.CustomResourceOptions);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Input properties used for looking up and filtering Backend resources.
|
|
77
|
+
*/
|
|
78
|
+
export interface BackendState {
|
|
79
|
+
/**
|
|
80
|
+
* The name of the Backend.
|
|
81
|
+
*/
|
|
82
|
+
backendName?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_HTTP`, `OSS`, `MOCK`.
|
|
85
|
+
*/
|
|
86
|
+
backendType?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Whether to create an Event bus service association role.
|
|
89
|
+
*/
|
|
90
|
+
createEventBridgeServiceLinkedRole?: pulumi.Input<boolean>;
|
|
91
|
+
/**
|
|
92
|
+
* The description of the Backend.
|
|
93
|
+
*/
|
|
94
|
+
description?: pulumi.Input<string>;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* The set of arguments for constructing a Backend resource.
|
|
98
|
+
*/
|
|
99
|
+
export interface BackendArgs {
|
|
100
|
+
/**
|
|
101
|
+
* The name of the Backend.
|
|
102
|
+
*/
|
|
103
|
+
backendName: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The type of the Backend. Valid values: `HTTP`, `VPC`, `FC_EVENT`, `FC_HTTP`, `OSS`, `MOCK`.
|
|
106
|
+
*/
|
|
107
|
+
backendType: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Whether to create an Event bus service association role.
|
|
110
|
+
*/
|
|
111
|
+
createEventBridgeServiceLinkedRole?: pulumi.Input<boolean>;
|
|
112
|
+
/**
|
|
113
|
+
* The description of the Backend.
|
|
114
|
+
*/
|
|
115
|
+
description?: pulumi.Input<string>;
|
|
116
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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.Backend = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Api Gateway Backend resource.
|
|
10
|
+
*
|
|
11
|
+
* For information about Api Gateway Backend and how to use it, see [What is Backend](https://www.alibabacloud.com/help/zh/api-gateway/latest/api-doc-cloudapi-2016-07-14-api-doc-createbackend).
|
|
12
|
+
*
|
|
13
|
+
* > **NOTE:** Available in v1.181.0+.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* Basic Usage
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
22
|
+
*
|
|
23
|
+
* const config = new pulumi.Config();
|
|
24
|
+
* const name1 = config.get("name1") || "tf-testAccBackend";
|
|
25
|
+
* const _default = new alicloud.apigateway.Backend("default", {
|
|
26
|
+
* backendName: _var.name,
|
|
27
|
+
* description: _var.name,
|
|
28
|
+
* backendType: "HTTP",
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* Api Gateway Backend can be imported using the id, e.g.
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import alicloud:apigateway/backend:Backend example <id>
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
class Backend extends pulumi.CustomResource {
|
|
41
|
+
constructor(name, argsOrState, opts) {
|
|
42
|
+
let resourceInputs = {};
|
|
43
|
+
opts = opts || {};
|
|
44
|
+
if (opts.id) {
|
|
45
|
+
const state = argsOrState;
|
|
46
|
+
resourceInputs["backendName"] = state ? state.backendName : undefined;
|
|
47
|
+
resourceInputs["backendType"] = state ? state.backendType : undefined;
|
|
48
|
+
resourceInputs["createEventBridgeServiceLinkedRole"] = state ? state.createEventBridgeServiceLinkedRole : undefined;
|
|
49
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
const args = argsOrState;
|
|
53
|
+
if ((!args || args.backendName === undefined) && !opts.urn) {
|
|
54
|
+
throw new Error("Missing required property 'backendName'");
|
|
55
|
+
}
|
|
56
|
+
if ((!args || args.backendType === undefined) && !opts.urn) {
|
|
57
|
+
throw new Error("Missing required property 'backendType'");
|
|
58
|
+
}
|
|
59
|
+
resourceInputs["backendName"] = args ? args.backendName : undefined;
|
|
60
|
+
resourceInputs["backendType"] = args ? args.backendType : undefined;
|
|
61
|
+
resourceInputs["createEventBridgeServiceLinkedRole"] = args ? args.createEventBridgeServiceLinkedRole : undefined;
|
|
62
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
63
|
+
}
|
|
64
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
65
|
+
super(Backend.__pulumiType, name, resourceInputs, opts);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Get an existing Backend resource's state with the given name, ID, and optional extra
|
|
69
|
+
* properties used to qualify the lookup.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resulting resource.
|
|
72
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
73
|
+
* @param state Any extra arguments used during the lookup.
|
|
74
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
75
|
+
*/
|
|
76
|
+
static get(name, id, state, opts) {
|
|
77
|
+
return new Backend(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Returns true if the given object is an instance of Backend. This is designed to work even
|
|
81
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
82
|
+
*/
|
|
83
|
+
static isInstance(obj) {
|
|
84
|
+
if (obj === undefined || obj === null) {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
return obj['__pulumiType'] === Backend.__pulumiType;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.Backend = Backend;
|
|
91
|
+
/** @internal */
|
|
92
|
+
Backend.__pulumiType = 'alicloud:apigateway/backend:Backend';
|
|
93
|
+
//# sourceMappingURL=backend.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backend.js","sourceRoot":"","sources":["../../apigateway/backend.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAqD9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,oCAAoC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kCAAkC,CAAC,CAAC,CAAC,SAAS,CAAC;YACpH,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACzE;aAAM;YACH,MAAM,IAAI,GAAG,WAAsC,CAAC;YACpD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxD,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,WAA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CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* This data source provides the Api Gateway Backends of the current Alibaba Cloud user.
|
|
5
|
+
*
|
|
6
|
+
* > **NOTE:** Available in v1.181.0+.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* Basic Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
15
|
+
*
|
|
16
|
+
* const ids = alicloud.apigateway.getBackends({});
|
|
17
|
+
* export const apiGatewayBackendId1 = ids.then(ids => ids.backends?[0]?.id);
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function getBackends(args?: GetBackendsArgs, opts?: pulumi.InvokeOptions): Promise<GetBackendsResult>;
|
|
21
|
+
/**
|
|
22
|
+
* A collection of arguments for invoking getBackends.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetBackendsArgs {
|
|
25
|
+
/**
|
|
26
|
+
* A list of Backends IDs.
|
|
27
|
+
*/
|
|
28
|
+
ids?: string[];
|
|
29
|
+
/**
|
|
30
|
+
* A regex string to filter Api Gateway Backends by name.
|
|
31
|
+
*/
|
|
32
|
+
nameRegex?: string;
|
|
33
|
+
outputFile?: string;
|
|
34
|
+
pageNumber?: number;
|
|
35
|
+
pageSize?: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A collection of values returned by getBackends.
|
|
39
|
+
*/
|
|
40
|
+
export interface GetBackendsResult {
|
|
41
|
+
readonly backends: outputs.apigateway.GetBackendsBackend[];
|
|
42
|
+
/**
|
|
43
|
+
* The provider-assigned unique ID for this managed resource.
|
|
44
|
+
*/
|
|
45
|
+
readonly id: string;
|
|
46
|
+
readonly ids: string[];
|
|
47
|
+
readonly nameRegex?: string;
|
|
48
|
+
readonly names: string[];
|
|
49
|
+
readonly outputFile?: string;
|
|
50
|
+
readonly pageNumber?: number;
|
|
51
|
+
readonly pageSize?: number;
|
|
52
|
+
}
|
|
53
|
+
export declare function getBackendsOutput(args?: GetBackendsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBackendsResult>;
|
|
54
|
+
/**
|
|
55
|
+
* A collection of arguments for invoking getBackends.
|
|
56
|
+
*/
|
|
57
|
+
export interface GetBackendsOutputArgs {
|
|
58
|
+
/**
|
|
59
|
+
* A list of Backends IDs.
|
|
60
|
+
*/
|
|
61
|
+
ids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
62
|
+
/**
|
|
63
|
+
* A regex string to filter Api Gateway Backends by name.
|
|
64
|
+
*/
|
|
65
|
+
nameRegex?: pulumi.Input<string>;
|
|
66
|
+
outputFile?: pulumi.Input<string>;
|
|
67
|
+
pageNumber?: pulumi.Input<number>;
|
|
68
|
+
pageSize?: pulumi.Input<number>;
|
|
69
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.getBackendsOutput = exports.getBackends = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides the Api Gateway Backends of the current Alibaba Cloud user.
|
|
10
|
+
*
|
|
11
|
+
* > **NOTE:** Available in v1.181.0+.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* Basic Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
20
|
+
*
|
|
21
|
+
* const ids = alicloud.apigateway.getBackends({});
|
|
22
|
+
* export const apiGatewayBackendId1 = ids.then(ids => ids.backends?[0]?.id);
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
function getBackends(args, opts) {
|
|
26
|
+
args = args || {};
|
|
27
|
+
if (!opts) {
|
|
28
|
+
opts = {};
|
|
29
|
+
}
|
|
30
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
31
|
+
return pulumi.runtime.invoke("alicloud:apigateway/getBackends:getBackends", {
|
|
32
|
+
"ids": args.ids,
|
|
33
|
+
"nameRegex": args.nameRegex,
|
|
34
|
+
"outputFile": args.outputFile,
|
|
35
|
+
"pageNumber": args.pageNumber,
|
|
36
|
+
"pageSize": args.pageSize,
|
|
37
|
+
}, opts);
|
|
38
|
+
}
|
|
39
|
+
exports.getBackends = getBackends;
|
|
40
|
+
function getBackendsOutput(args, opts) {
|
|
41
|
+
return pulumi.output(args).apply(a => getBackends(a, opts));
|
|
42
|
+
}
|
|
43
|
+
exports.getBackendsOutput = getBackendsOutput;
|
|
44
|
+
//# sourceMappingURL=getBackends.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getBackends.js","sourceRoot":"","sources":["../../apigateway/getBackends.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,kCAcC;AAoCD,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
|
package/apigateway/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export * from "./api";
|
|
2
2
|
export * from "./app";
|
|
3
3
|
export * from "./appAttachment";
|
|
4
|
+
export * from "./backend";
|
|
4
5
|
export * from "./getApis";
|
|
5
6
|
export * from "./getApps";
|
|
7
|
+
export * from "./getBackends";
|
|
6
8
|
export * from "./getGroups";
|
|
7
9
|
export * from "./getService";
|
|
8
10
|
export * from "./group";
|
package/apigateway/index.js
CHANGED
|
@@ -22,8 +22,10 @@ const utilities = require("../utilities");
|
|
|
22
22
|
__exportStar(require("./api"), exports);
|
|
23
23
|
__exportStar(require("./app"), exports);
|
|
24
24
|
__exportStar(require("./appAttachment"), exports);
|
|
25
|
+
__exportStar(require("./backend"), exports);
|
|
25
26
|
__exportStar(require("./getApis"), exports);
|
|
26
27
|
__exportStar(require("./getApps"), exports);
|
|
28
|
+
__exportStar(require("./getBackends"), exports);
|
|
27
29
|
__exportStar(require("./getGroups"), exports);
|
|
28
30
|
__exportStar(require("./getService"), exports);
|
|
29
31
|
__exportStar(require("./group"), exports);
|
|
@@ -32,6 +34,7 @@ __exportStar(require("./vpcAccess"), exports);
|
|
|
32
34
|
const api_1 = require("./api");
|
|
33
35
|
const app_1 = require("./app");
|
|
34
36
|
const appAttachment_1 = require("./appAttachment");
|
|
37
|
+
const backend_1 = require("./backend");
|
|
35
38
|
const group_1 = require("./group");
|
|
36
39
|
const vpcAccess_1 = require("./vpcAccess");
|
|
37
40
|
const _module = {
|
|
@@ -44,6 +47,8 @@ const _module = {
|
|
|
44
47
|
return new app_1.App(name, undefined, { urn });
|
|
45
48
|
case "alicloud:apigateway/appAttachment:AppAttachment":
|
|
46
49
|
return new appAttachment_1.AppAttachment(name, undefined, { urn });
|
|
50
|
+
case "alicloud:apigateway/backend:Backend":
|
|
51
|
+
return new backend_1.Backend(name, undefined, { urn });
|
|
47
52
|
case "alicloud:apigateway/group:Group":
|
|
48
53
|
return new group_1.Group(name, undefined, { urn });
|
|
49
54
|
case "alicloud:apigateway/vpcAccess:VpcAccess":
|
|
@@ -56,6 +61,7 @@ const _module = {
|
|
|
56
61
|
pulumi.runtime.registerResourceModule("alicloud", "apigateway/api", _module);
|
|
57
62
|
pulumi.runtime.registerResourceModule("alicloud", "apigateway/app", _module);
|
|
58
63
|
pulumi.runtime.registerResourceModule("alicloud", "apigateway/appAttachment", _module);
|
|
64
|
+
pulumi.runtime.registerResourceModule("alicloud", "apigateway/backend", _module);
|
|
59
65
|
pulumi.runtime.registerResourceModule("alicloud", "apigateway/group", _module);
|
|
60
66
|
pulumi.runtime.registerResourceModule("alicloud", "apigateway/vpcAccess", _module);
|
|
61
67
|
//# sourceMappingURL=index.js.map
|
package/apigateway/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../apigateway/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,wCAAsB;AACtB,wCAAsB;AACtB,kDAAgC;AAChC,4CAA0B;AAC1B,4CAA0B;AAC1B,8CAA4B;AAC5B,+CAA6B;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EAAE,GAAG,EAAE,CAAC,CAAA;YACnD,KAAK,yCAAyC;gBAC1C,OAAO,IAAI,qBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -31,7 +31,7 @@ export declare class GatewayBlockVolume extends pulumi.CustomResource {
|
|
|
31
31
|
*/
|
|
32
32
|
static isInstance(obj: any): obj is GatewayBlockVolume;
|
|
33
33
|
/**
|
|
34
|
-
* The Block volume set mode to cache mode.
|
|
34
|
+
* The Block volume set mode to cache mode. Valid values: `Cache`, `WriteThrough`.
|
|
35
35
|
*/
|
|
36
36
|
readonly cacheMode: pulumi.Output<string>;
|
|
37
37
|
/**
|
|
@@ -121,7 +121,7 @@ export declare class GatewayBlockVolume extends pulumi.CustomResource {
|
|
|
121
121
|
*/
|
|
122
122
|
export interface GatewayBlockVolumeState {
|
|
123
123
|
/**
|
|
124
|
-
* The Block volume set mode to cache mode.
|
|
124
|
+
* The Block volume set mode to cache mode. Valid values: `Cache`, `WriteThrough`.
|
|
125
125
|
*/
|
|
126
126
|
cacheMode?: pulumi.Input<string>;
|
|
127
127
|
/**
|
|
@@ -203,7 +203,7 @@ export interface GatewayBlockVolumeState {
|
|
|
203
203
|
*/
|
|
204
204
|
export interface GatewayBlockVolumeArgs {
|
|
205
205
|
/**
|
|
206
|
-
* The Block volume set mode to cache mode.
|
|
206
|
+
* The Block volume set mode to cache mode. Valid values: `Cache`, `WriteThrough`.
|
|
207
207
|
*/
|
|
208
208
|
cacheMode?: pulumi.Input<string>;
|
|
209
209
|
/**
|
|
@@ -104,7 +104,7 @@ export declare class GatewayFileShare extends pulumi.CustomResource {
|
|
|
104
104
|
*/
|
|
105
105
|
readonly bypassCacheRead: pulumi.Output<boolean>;
|
|
106
106
|
/**
|
|
107
|
-
* The set up gateway file share cache mode.
|
|
107
|
+
* The set up gateway file share cache mode. Valid values: `Cache` or `Sync`. `Cache`: cached mode. `Sync`: replication mode are available. Default value: `Cache`.
|
|
108
108
|
*/
|
|
109
109
|
readonly cacheMode: pulumi.Output<string>;
|
|
110
110
|
/**
|
|
@@ -253,7 +253,7 @@ export interface GatewayFileShareState {
|
|
|
253
253
|
*/
|
|
254
254
|
bypassCacheRead?: pulumi.Input<boolean>;
|
|
255
255
|
/**
|
|
256
|
-
* The set up gateway file share cache mode.
|
|
256
|
+
* The set up gateway file share cache mode. Valid values: `Cache` or `Sync`. `Cache`: cached mode. `Sync`: replication mode are available. Default value: `Cache`.
|
|
257
257
|
*/
|
|
258
258
|
cacheMode?: pulumi.Input<string>;
|
|
259
259
|
/**
|
|
@@ -394,7 +394,7 @@ export interface GatewayFileShareArgs {
|
|
|
394
394
|
*/
|
|
395
395
|
bypassCacheRead?: pulumi.Input<boolean>;
|
|
396
396
|
/**
|
|
397
|
-
* The set up gateway file share cache mode.
|
|
397
|
+
* The set up gateway file share cache mode. Valid values: `Cache` or `Sync`. `Cache`: cached mode. `Sync`: replication mode are available. Default value: `Cache`.
|
|
398
398
|
*/
|
|
399
399
|
cacheMode?: pulumi.Input<string>;
|
|
400
400
|
/**
|