pulumi-alicloud 3.84.0a1755580951__py3-none-any.whl → 3.84.0a1755803208__py3-none-any.whl

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.

Potentially problematic release.


This version of pulumi-alicloud might be problematic. Click here for more details.

@@ -47,6 +47,36 @@ class V2FunctionArgs:
47
47
  timeout: Optional[pulumi.Input[_builtins.int]] = None):
48
48
  """
49
49
  The set of arguments for constructing a V2Function resource.
50
+ :param pulumi.Input[_builtins.str] function_name: function name.
51
+ :param pulumi.Input[_builtins.str] handler: entry point of function.
52
+ :param pulumi.Input[_builtins.str] runtime: runtime of function code.
53
+ :param pulumi.Input[_builtins.str] service_name: The name of the function Service.
54
+ :param pulumi.Input[_builtins.int] ca_port: The listening port of the HTTP Server when the Custom Runtime or Custom Container is running.
55
+ :param pulumi.Input['V2FunctionCodeArgs'] code: Function Code ZIP package. code and customContainerConfig choose one. See `code` below.
56
+ :param pulumi.Input[_builtins.str] code_checksum: crc64 of function code.
57
+ :param pulumi.Input[_builtins.float] cpu: The CPU specification of the function. The unit is vCPU, which is a multiple of the 0.05 vCPU.
58
+ :param pulumi.Input['V2FunctionCustomContainerConfigArgs'] custom_container_config: Custom-container runtime related function configuration. See `custom_container_config` below.
59
+ :param pulumi.Input['V2FunctionCustomDnsArgs'] custom_dns: Function custom DNS configuration. See `custom_dns` below.
60
+ :param pulumi.Input['V2FunctionCustomHealthCheckConfigArgs'] custom_health_check_config: Custom runtime/container Custom health check configuration. See `custom_health_check_config` below.
61
+ :param pulumi.Input['V2FunctionCustomRuntimeConfigArgs'] custom_runtime_config: Detailed configuration of Custom Runtime function. See `custom_runtime_config` below.
62
+ :param pulumi.Input[_builtins.str] description: description of function.
63
+ :param pulumi.Input[_builtins.int] disk_size: The disk specification of the function. The unit is MB. The optional value is 512 MB or 10240MB.
64
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] environment_variables: The environment variable set for the function can get the value of the environment variable in the function. For more information, see Environment Variables.
65
+ :param pulumi.Input[_builtins.int] gpu_memory_size: The GPU memory specification of the function, in MB, is a multiple of 1024MB.
66
+ :param pulumi.Input[_builtins.int] initialization_timeout: max running time of initializer.
67
+ :param pulumi.Input[_builtins.str] initializer: initializer entry point of function.
68
+ :param pulumi.Input[_builtins.int] instance_concurrency: The maximum concurrency allowed for a single function instance.
69
+ :param pulumi.Input['V2FunctionInstanceLifecycleConfigArgs'] instance_lifecycle_config: Instance lifecycle configuration. See `instance_lifecycle_config` below.
70
+ :param pulumi.Input[_builtins.str] instance_type: The instance type of the function. Valid values:
71
+ - **e1**: Elastic instance.
72
+ - **c1**: performance instance.
73
+ - **fc.gpu.tesla.1**: the T4 card type of the Tesla series of GPU instances.
74
+ - **fc.gpu.ampere.1**: The Ampere series A10 card type of the GPU instance.
75
+ - **g1**: Same as **fc.gpu.tesla.1**.
76
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] layers: List of layers.
77
+ > **NOTE:** Multiple layers will be merged in the order of array subscripts from large to small, and the contents of layers with small subscripts will overwrite the files with the same name of layers with large subscripts.
78
+ :param pulumi.Input[_builtins.int] memory_size: memory size needed by function.
79
+ :param pulumi.Input[_builtins.int] timeout: max running time of function.
50
80
  """
51
81
  pulumi.set(__self__, "function_name", function_name)
52
82
  pulumi.set(__self__, "handler", handler)
@@ -96,6 +126,9 @@ class V2FunctionArgs:
96
126
  @_builtins.property
97
127
  @pulumi.getter(name="functionName")
98
128
  def function_name(self) -> pulumi.Input[_builtins.str]:
129
+ """
130
+ function name.
131
+ """
99
132
  return pulumi.get(self, "function_name")
100
133
 
101
134
  @function_name.setter
@@ -105,6 +138,9 @@ class V2FunctionArgs:
105
138
  @_builtins.property
106
139
  @pulumi.getter
107
140
  def handler(self) -> pulumi.Input[_builtins.str]:
141
+ """
142
+ entry point of function.
143
+ """
108
144
  return pulumi.get(self, "handler")
109
145
 
110
146
  @handler.setter
@@ -114,6 +150,9 @@ class V2FunctionArgs:
114
150
  @_builtins.property
115
151
  @pulumi.getter
116
152
  def runtime(self) -> pulumi.Input[_builtins.str]:
153
+ """
154
+ runtime of function code.
155
+ """
117
156
  return pulumi.get(self, "runtime")
118
157
 
119
158
  @runtime.setter
@@ -123,6 +162,9 @@ class V2FunctionArgs:
123
162
  @_builtins.property
124
163
  @pulumi.getter(name="serviceName")
125
164
  def service_name(self) -> pulumi.Input[_builtins.str]:
165
+ """
166
+ The name of the function Service.
167
+ """
126
168
  return pulumi.get(self, "service_name")
127
169
 
128
170
  @service_name.setter
@@ -132,6 +174,9 @@ class V2FunctionArgs:
132
174
  @_builtins.property
133
175
  @pulumi.getter(name="caPort")
134
176
  def ca_port(self) -> Optional[pulumi.Input[_builtins.int]]:
177
+ """
178
+ The listening port of the HTTP Server when the Custom Runtime or Custom Container is running.
179
+ """
135
180
  return pulumi.get(self, "ca_port")
136
181
 
137
182
  @ca_port.setter
@@ -141,6 +186,9 @@ class V2FunctionArgs:
141
186
  @_builtins.property
142
187
  @pulumi.getter
143
188
  def code(self) -> Optional[pulumi.Input['V2FunctionCodeArgs']]:
189
+ """
190
+ Function Code ZIP package. code and customContainerConfig choose one. See `code` below.
191
+ """
144
192
  return pulumi.get(self, "code")
145
193
 
146
194
  @code.setter
@@ -150,6 +198,9 @@ class V2FunctionArgs:
150
198
  @_builtins.property
151
199
  @pulumi.getter(name="codeChecksum")
152
200
  def code_checksum(self) -> Optional[pulumi.Input[_builtins.str]]:
201
+ """
202
+ crc64 of function code.
203
+ """
153
204
  return pulumi.get(self, "code_checksum")
154
205
 
155
206
  @code_checksum.setter
@@ -159,6 +210,9 @@ class V2FunctionArgs:
159
210
  @_builtins.property
160
211
  @pulumi.getter
161
212
  def cpu(self) -> Optional[pulumi.Input[_builtins.float]]:
213
+ """
214
+ The CPU specification of the function. The unit is vCPU, which is a multiple of the 0.05 vCPU.
215
+ """
162
216
  return pulumi.get(self, "cpu")
163
217
 
164
218
  @cpu.setter
@@ -168,6 +222,9 @@ class V2FunctionArgs:
168
222
  @_builtins.property
169
223
  @pulumi.getter(name="customContainerConfig")
170
224
  def custom_container_config(self) -> Optional[pulumi.Input['V2FunctionCustomContainerConfigArgs']]:
225
+ """
226
+ Custom-container runtime related function configuration. See `custom_container_config` below.
227
+ """
171
228
  return pulumi.get(self, "custom_container_config")
172
229
 
173
230
  @custom_container_config.setter
@@ -177,6 +234,9 @@ class V2FunctionArgs:
177
234
  @_builtins.property
178
235
  @pulumi.getter(name="customDns")
179
236
  def custom_dns(self) -> Optional[pulumi.Input['V2FunctionCustomDnsArgs']]:
237
+ """
238
+ Function custom DNS configuration. See `custom_dns` below.
239
+ """
180
240
  return pulumi.get(self, "custom_dns")
181
241
 
182
242
  @custom_dns.setter
@@ -186,6 +246,9 @@ class V2FunctionArgs:
186
246
  @_builtins.property
187
247
  @pulumi.getter(name="customHealthCheckConfig")
188
248
  def custom_health_check_config(self) -> Optional[pulumi.Input['V2FunctionCustomHealthCheckConfigArgs']]:
249
+ """
250
+ Custom runtime/container Custom health check configuration. See `custom_health_check_config` below.
251
+ """
189
252
  return pulumi.get(self, "custom_health_check_config")
190
253
 
191
254
  @custom_health_check_config.setter
@@ -195,6 +258,9 @@ class V2FunctionArgs:
195
258
  @_builtins.property
196
259
  @pulumi.getter(name="customRuntimeConfig")
197
260
  def custom_runtime_config(self) -> Optional[pulumi.Input['V2FunctionCustomRuntimeConfigArgs']]:
261
+ """
262
+ Detailed configuration of Custom Runtime function. See `custom_runtime_config` below.
263
+ """
198
264
  return pulumi.get(self, "custom_runtime_config")
199
265
 
200
266
  @custom_runtime_config.setter
@@ -204,6 +270,9 @@ class V2FunctionArgs:
204
270
  @_builtins.property
205
271
  @pulumi.getter
206
272
  def description(self) -> Optional[pulumi.Input[_builtins.str]]:
273
+ """
274
+ description of function.
275
+ """
207
276
  return pulumi.get(self, "description")
208
277
 
209
278
  @description.setter
@@ -213,6 +282,9 @@ class V2FunctionArgs:
213
282
  @_builtins.property
214
283
  @pulumi.getter(name="diskSize")
215
284
  def disk_size(self) -> Optional[pulumi.Input[_builtins.int]]:
285
+ """
286
+ The disk specification of the function. The unit is MB. The optional value is 512 MB or 10240MB.
287
+ """
216
288
  return pulumi.get(self, "disk_size")
217
289
 
218
290
  @disk_size.setter
@@ -222,6 +294,9 @@ class V2FunctionArgs:
222
294
  @_builtins.property
223
295
  @pulumi.getter(name="environmentVariables")
224
296
  def environment_variables(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
297
+ """
298
+ The environment variable set for the function can get the value of the environment variable in the function. For more information, see Environment Variables.
299
+ """
225
300
  return pulumi.get(self, "environment_variables")
226
301
 
227
302
  @environment_variables.setter
@@ -231,6 +306,9 @@ class V2FunctionArgs:
231
306
  @_builtins.property
232
307
  @pulumi.getter(name="gpuMemorySize")
233
308
  def gpu_memory_size(self) -> Optional[pulumi.Input[_builtins.int]]:
309
+ """
310
+ The GPU memory specification of the function, in MB, is a multiple of 1024MB.
311
+ """
234
312
  return pulumi.get(self, "gpu_memory_size")
235
313
 
236
314
  @gpu_memory_size.setter
@@ -240,6 +318,9 @@ class V2FunctionArgs:
240
318
  @_builtins.property
241
319
  @pulumi.getter(name="initializationTimeout")
242
320
  def initialization_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
321
+ """
322
+ max running time of initializer.
323
+ """
243
324
  return pulumi.get(self, "initialization_timeout")
244
325
 
245
326
  @initialization_timeout.setter
@@ -249,6 +330,9 @@ class V2FunctionArgs:
249
330
  @_builtins.property
250
331
  @pulumi.getter
251
332
  def initializer(self) -> Optional[pulumi.Input[_builtins.str]]:
333
+ """
334
+ initializer entry point of function.
335
+ """
252
336
  return pulumi.get(self, "initializer")
253
337
 
254
338
  @initializer.setter
@@ -258,6 +342,9 @@ class V2FunctionArgs:
258
342
  @_builtins.property
259
343
  @pulumi.getter(name="instanceConcurrency")
260
344
  def instance_concurrency(self) -> Optional[pulumi.Input[_builtins.int]]:
345
+ """
346
+ The maximum concurrency allowed for a single function instance.
347
+ """
261
348
  return pulumi.get(self, "instance_concurrency")
262
349
 
263
350
  @instance_concurrency.setter
@@ -267,6 +354,9 @@ class V2FunctionArgs:
267
354
  @_builtins.property
268
355
  @pulumi.getter(name="instanceLifecycleConfig")
269
356
  def instance_lifecycle_config(self) -> Optional[pulumi.Input['V2FunctionInstanceLifecycleConfigArgs']]:
357
+ """
358
+ Instance lifecycle configuration. See `instance_lifecycle_config` below.
359
+ """
270
360
  return pulumi.get(self, "instance_lifecycle_config")
271
361
 
272
362
  @instance_lifecycle_config.setter
@@ -276,6 +366,14 @@ class V2FunctionArgs:
276
366
  @_builtins.property
277
367
  @pulumi.getter(name="instanceType")
278
368
  def instance_type(self) -> Optional[pulumi.Input[_builtins.str]]:
369
+ """
370
+ The instance type of the function. Valid values:
371
+ - **e1**: Elastic instance.
372
+ - **c1**: performance instance.
373
+ - **fc.gpu.tesla.1**: the T4 card type of the Tesla series of GPU instances.
374
+ - **fc.gpu.ampere.1**: The Ampere series A10 card type of the GPU instance.
375
+ - **g1**: Same as **fc.gpu.tesla.1**.
376
+ """
279
377
  return pulumi.get(self, "instance_type")
280
378
 
281
379
  @instance_type.setter
@@ -285,6 +383,10 @@ class V2FunctionArgs:
285
383
  @_builtins.property
286
384
  @pulumi.getter
287
385
  def layers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
386
+ """
387
+ List of layers.
388
+ > **NOTE:** Multiple layers will be merged in the order of array subscripts from large to small, and the contents of layers with small subscripts will overwrite the files with the same name of layers with large subscripts.
389
+ """
288
390
  return pulumi.get(self, "layers")
289
391
 
290
392
  @layers.setter
@@ -294,6 +396,9 @@ class V2FunctionArgs:
294
396
  @_builtins.property
295
397
  @pulumi.getter(name="memorySize")
296
398
  def memory_size(self) -> Optional[pulumi.Input[_builtins.int]]:
399
+ """
400
+ memory size needed by function.
401
+ """
297
402
  return pulumi.get(self, "memory_size")
298
403
 
299
404
  @memory_size.setter
@@ -303,6 +408,9 @@ class V2FunctionArgs:
303
408
  @_builtins.property
304
409
  @pulumi.getter
305
410
  def timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
411
+ """
412
+ max running time of function.
413
+ """
306
414
  return pulumi.get(self, "timeout")
307
415
 
308
416
  @timeout.setter
@@ -341,6 +449,38 @@ class _V2FunctionState:
341
449
  timeout: Optional[pulumi.Input[_builtins.int]] = None):
342
450
  """
343
451
  Input properties used for looking up and filtering V2Function resources.
452
+ :param pulumi.Input[_builtins.int] ca_port: The listening port of the HTTP Server when the Custom Runtime or Custom Container is running.
453
+ :param pulumi.Input['V2FunctionCodeArgs'] code: Function Code ZIP package. code and customContainerConfig choose one. See `code` below.
454
+ :param pulumi.Input[_builtins.str] code_checksum: crc64 of function code.
455
+ :param pulumi.Input[_builtins.float] cpu: The CPU specification of the function. The unit is vCPU, which is a multiple of the 0.05 vCPU.
456
+ :param pulumi.Input[_builtins.str] create_time: create time of function.
457
+ :param pulumi.Input['V2FunctionCustomContainerConfigArgs'] custom_container_config: Custom-container runtime related function configuration. See `custom_container_config` below.
458
+ :param pulumi.Input['V2FunctionCustomDnsArgs'] custom_dns: Function custom DNS configuration. See `custom_dns` below.
459
+ :param pulumi.Input['V2FunctionCustomHealthCheckConfigArgs'] custom_health_check_config: Custom runtime/container Custom health check configuration. See `custom_health_check_config` below.
460
+ :param pulumi.Input['V2FunctionCustomRuntimeConfigArgs'] custom_runtime_config: Detailed configuration of Custom Runtime function. See `custom_runtime_config` below.
461
+ :param pulumi.Input[_builtins.str] description: description of function.
462
+ :param pulumi.Input[_builtins.int] disk_size: The disk specification of the function. The unit is MB. The optional value is 512 MB or 10240MB.
463
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] environment_variables: The environment variable set for the function can get the value of the environment variable in the function. For more information, see Environment Variables.
464
+ :param pulumi.Input[_builtins.str] function_arn: The Function Compute service function arn. It formats as `acs:fc:<region>:<uid>:services/<serviceName>.LATEST/functions/<functionName>`.
465
+ :param pulumi.Input[_builtins.str] function_name: function name.
466
+ :param pulumi.Input[_builtins.int] gpu_memory_size: The GPU memory specification of the function, in MB, is a multiple of 1024MB.
467
+ :param pulumi.Input[_builtins.str] handler: entry point of function.
468
+ :param pulumi.Input[_builtins.int] initialization_timeout: max running time of initializer.
469
+ :param pulumi.Input[_builtins.str] initializer: initializer entry point of function.
470
+ :param pulumi.Input[_builtins.int] instance_concurrency: The maximum concurrency allowed for a single function instance.
471
+ :param pulumi.Input['V2FunctionInstanceLifecycleConfigArgs'] instance_lifecycle_config: Instance lifecycle configuration. See `instance_lifecycle_config` below.
472
+ :param pulumi.Input[_builtins.str] instance_type: The instance type of the function. Valid values:
473
+ - **e1**: Elastic instance.
474
+ - **c1**: performance instance.
475
+ - **fc.gpu.tesla.1**: the T4 card type of the Tesla series of GPU instances.
476
+ - **fc.gpu.ampere.1**: The Ampere series A10 card type of the GPU instance.
477
+ - **g1**: Same as **fc.gpu.tesla.1**.
478
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] layers: List of layers.
479
+ > **NOTE:** Multiple layers will be merged in the order of array subscripts from large to small, and the contents of layers with small subscripts will overwrite the files with the same name of layers with large subscripts.
480
+ :param pulumi.Input[_builtins.int] memory_size: memory size needed by function.
481
+ :param pulumi.Input[_builtins.str] runtime: runtime of function code.
482
+ :param pulumi.Input[_builtins.str] service_name: The name of the function Service.
483
+ :param pulumi.Input[_builtins.int] timeout: max running time of function.
344
484
  """
345
485
  if ca_port is not None:
346
486
  pulumi.set(__self__, "ca_port", ca_port)
@@ -398,6 +538,9 @@ class _V2FunctionState:
398
538
  @_builtins.property
399
539
  @pulumi.getter(name="caPort")
400
540
  def ca_port(self) -> Optional[pulumi.Input[_builtins.int]]:
541
+ """
542
+ The listening port of the HTTP Server when the Custom Runtime or Custom Container is running.
543
+ """
401
544
  return pulumi.get(self, "ca_port")
402
545
 
403
546
  @ca_port.setter
@@ -407,6 +550,9 @@ class _V2FunctionState:
407
550
  @_builtins.property
408
551
  @pulumi.getter
409
552
  def code(self) -> Optional[pulumi.Input['V2FunctionCodeArgs']]:
553
+ """
554
+ Function Code ZIP package. code and customContainerConfig choose one. See `code` below.
555
+ """
410
556
  return pulumi.get(self, "code")
411
557
 
412
558
  @code.setter
@@ -416,6 +562,9 @@ class _V2FunctionState:
416
562
  @_builtins.property
417
563
  @pulumi.getter(name="codeChecksum")
418
564
  def code_checksum(self) -> Optional[pulumi.Input[_builtins.str]]:
565
+ """
566
+ crc64 of function code.
567
+ """
419
568
  return pulumi.get(self, "code_checksum")
420
569
 
421
570
  @code_checksum.setter
@@ -425,6 +574,9 @@ class _V2FunctionState:
425
574
  @_builtins.property
426
575
  @pulumi.getter
427
576
  def cpu(self) -> Optional[pulumi.Input[_builtins.float]]:
577
+ """
578
+ The CPU specification of the function. The unit is vCPU, which is a multiple of the 0.05 vCPU.
579
+ """
428
580
  return pulumi.get(self, "cpu")
429
581
 
430
582
  @cpu.setter
@@ -434,6 +586,9 @@ class _V2FunctionState:
434
586
  @_builtins.property
435
587
  @pulumi.getter(name="createTime")
436
588
  def create_time(self) -> Optional[pulumi.Input[_builtins.str]]:
589
+ """
590
+ create time of function.
591
+ """
437
592
  return pulumi.get(self, "create_time")
438
593
 
439
594
  @create_time.setter
@@ -443,6 +598,9 @@ class _V2FunctionState:
443
598
  @_builtins.property
444
599
  @pulumi.getter(name="customContainerConfig")
445
600
  def custom_container_config(self) -> Optional[pulumi.Input['V2FunctionCustomContainerConfigArgs']]:
601
+ """
602
+ Custom-container runtime related function configuration. See `custom_container_config` below.
603
+ """
446
604
  return pulumi.get(self, "custom_container_config")
447
605
 
448
606
  @custom_container_config.setter
@@ -452,6 +610,9 @@ class _V2FunctionState:
452
610
  @_builtins.property
453
611
  @pulumi.getter(name="customDns")
454
612
  def custom_dns(self) -> Optional[pulumi.Input['V2FunctionCustomDnsArgs']]:
613
+ """
614
+ Function custom DNS configuration. See `custom_dns` below.
615
+ """
455
616
  return pulumi.get(self, "custom_dns")
456
617
 
457
618
  @custom_dns.setter
@@ -461,6 +622,9 @@ class _V2FunctionState:
461
622
  @_builtins.property
462
623
  @pulumi.getter(name="customHealthCheckConfig")
463
624
  def custom_health_check_config(self) -> Optional[pulumi.Input['V2FunctionCustomHealthCheckConfigArgs']]:
625
+ """
626
+ Custom runtime/container Custom health check configuration. See `custom_health_check_config` below.
627
+ """
464
628
  return pulumi.get(self, "custom_health_check_config")
465
629
 
466
630
  @custom_health_check_config.setter
@@ -470,6 +634,9 @@ class _V2FunctionState:
470
634
  @_builtins.property
471
635
  @pulumi.getter(name="customRuntimeConfig")
472
636
  def custom_runtime_config(self) -> Optional[pulumi.Input['V2FunctionCustomRuntimeConfigArgs']]:
637
+ """
638
+ Detailed configuration of Custom Runtime function. See `custom_runtime_config` below.
639
+ """
473
640
  return pulumi.get(self, "custom_runtime_config")
474
641
 
475
642
  @custom_runtime_config.setter
@@ -479,6 +646,9 @@ class _V2FunctionState:
479
646
  @_builtins.property
480
647
  @pulumi.getter
481
648
  def description(self) -> Optional[pulumi.Input[_builtins.str]]:
649
+ """
650
+ description of function.
651
+ """
482
652
  return pulumi.get(self, "description")
483
653
 
484
654
  @description.setter
@@ -488,6 +658,9 @@ class _V2FunctionState:
488
658
  @_builtins.property
489
659
  @pulumi.getter(name="diskSize")
490
660
  def disk_size(self) -> Optional[pulumi.Input[_builtins.int]]:
661
+ """
662
+ The disk specification of the function. The unit is MB. The optional value is 512 MB or 10240MB.
663
+ """
491
664
  return pulumi.get(self, "disk_size")
492
665
 
493
666
  @disk_size.setter
@@ -497,6 +670,9 @@ class _V2FunctionState:
497
670
  @_builtins.property
498
671
  @pulumi.getter(name="environmentVariables")
499
672
  def environment_variables(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
673
+ """
674
+ The environment variable set for the function can get the value of the environment variable in the function. For more information, see Environment Variables.
675
+ """
500
676
  return pulumi.get(self, "environment_variables")
501
677
 
502
678
  @environment_variables.setter
@@ -506,6 +682,9 @@ class _V2FunctionState:
506
682
  @_builtins.property
507
683
  @pulumi.getter(name="functionArn")
508
684
  def function_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
685
+ """
686
+ The Function Compute service function arn. It formats as `acs:fc:<region>:<uid>:services/<serviceName>.LATEST/functions/<functionName>`.
687
+ """
509
688
  return pulumi.get(self, "function_arn")
510
689
 
511
690
  @function_arn.setter
@@ -515,6 +694,9 @@ class _V2FunctionState:
515
694
  @_builtins.property
516
695
  @pulumi.getter(name="functionName")
517
696
  def function_name(self) -> Optional[pulumi.Input[_builtins.str]]:
697
+ """
698
+ function name.
699
+ """
518
700
  return pulumi.get(self, "function_name")
519
701
 
520
702
  @function_name.setter
@@ -524,6 +706,9 @@ class _V2FunctionState:
524
706
  @_builtins.property
525
707
  @pulumi.getter(name="gpuMemorySize")
526
708
  def gpu_memory_size(self) -> Optional[pulumi.Input[_builtins.int]]:
709
+ """
710
+ The GPU memory specification of the function, in MB, is a multiple of 1024MB.
711
+ """
527
712
  return pulumi.get(self, "gpu_memory_size")
528
713
 
529
714
  @gpu_memory_size.setter
@@ -533,6 +718,9 @@ class _V2FunctionState:
533
718
  @_builtins.property
534
719
  @pulumi.getter
535
720
  def handler(self) -> Optional[pulumi.Input[_builtins.str]]:
721
+ """
722
+ entry point of function.
723
+ """
536
724
  return pulumi.get(self, "handler")
537
725
 
538
726
  @handler.setter
@@ -542,6 +730,9 @@ class _V2FunctionState:
542
730
  @_builtins.property
543
731
  @pulumi.getter(name="initializationTimeout")
544
732
  def initialization_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
733
+ """
734
+ max running time of initializer.
735
+ """
545
736
  return pulumi.get(self, "initialization_timeout")
546
737
 
547
738
  @initialization_timeout.setter
@@ -551,6 +742,9 @@ class _V2FunctionState:
551
742
  @_builtins.property
552
743
  @pulumi.getter
553
744
  def initializer(self) -> Optional[pulumi.Input[_builtins.str]]:
745
+ """
746
+ initializer entry point of function.
747
+ """
554
748
  return pulumi.get(self, "initializer")
555
749
 
556
750
  @initializer.setter
@@ -560,6 +754,9 @@ class _V2FunctionState:
560
754
  @_builtins.property
561
755
  @pulumi.getter(name="instanceConcurrency")
562
756
  def instance_concurrency(self) -> Optional[pulumi.Input[_builtins.int]]:
757
+ """
758
+ The maximum concurrency allowed for a single function instance.
759
+ """
563
760
  return pulumi.get(self, "instance_concurrency")
564
761
 
565
762
  @instance_concurrency.setter
@@ -569,6 +766,9 @@ class _V2FunctionState:
569
766
  @_builtins.property
570
767
  @pulumi.getter(name="instanceLifecycleConfig")
571
768
  def instance_lifecycle_config(self) -> Optional[pulumi.Input['V2FunctionInstanceLifecycleConfigArgs']]:
769
+ """
770
+ Instance lifecycle configuration. See `instance_lifecycle_config` below.
771
+ """
572
772
  return pulumi.get(self, "instance_lifecycle_config")
573
773
 
574
774
  @instance_lifecycle_config.setter
@@ -578,6 +778,14 @@ class _V2FunctionState:
578
778
  @_builtins.property
579
779
  @pulumi.getter(name="instanceType")
580
780
  def instance_type(self) -> Optional[pulumi.Input[_builtins.str]]:
781
+ """
782
+ The instance type of the function. Valid values:
783
+ - **e1**: Elastic instance.
784
+ - **c1**: performance instance.
785
+ - **fc.gpu.tesla.1**: the T4 card type of the Tesla series of GPU instances.
786
+ - **fc.gpu.ampere.1**: The Ampere series A10 card type of the GPU instance.
787
+ - **g1**: Same as **fc.gpu.tesla.1**.
788
+ """
581
789
  return pulumi.get(self, "instance_type")
582
790
 
583
791
  @instance_type.setter
@@ -587,6 +795,10 @@ class _V2FunctionState:
587
795
  @_builtins.property
588
796
  @pulumi.getter
589
797
  def layers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
798
+ """
799
+ List of layers.
800
+ > **NOTE:** Multiple layers will be merged in the order of array subscripts from large to small, and the contents of layers with small subscripts will overwrite the files with the same name of layers with large subscripts.
801
+ """
590
802
  return pulumi.get(self, "layers")
591
803
 
592
804
  @layers.setter
@@ -596,6 +808,9 @@ class _V2FunctionState:
596
808
  @_builtins.property
597
809
  @pulumi.getter(name="memorySize")
598
810
  def memory_size(self) -> Optional[pulumi.Input[_builtins.int]]:
811
+ """
812
+ memory size needed by function.
813
+ """
599
814
  return pulumi.get(self, "memory_size")
600
815
 
601
816
  @memory_size.setter
@@ -605,6 +820,9 @@ class _V2FunctionState:
605
820
  @_builtins.property
606
821
  @pulumi.getter
607
822
  def runtime(self) -> Optional[pulumi.Input[_builtins.str]]:
823
+ """
824
+ runtime of function code.
825
+ """
608
826
  return pulumi.get(self, "runtime")
609
827
 
610
828
  @runtime.setter
@@ -614,6 +832,9 @@ class _V2FunctionState:
614
832
  @_builtins.property
615
833
  @pulumi.getter(name="serviceName")
616
834
  def service_name(self) -> Optional[pulumi.Input[_builtins.str]]:
835
+ """
836
+ The name of the function Service.
837
+ """
617
838
  return pulumi.get(self, "service_name")
618
839
 
619
840
  @service_name.setter
@@ -623,6 +844,9 @@ class _V2FunctionState:
623
844
  @_builtins.property
624
845
  @pulumi.getter
625
846
  def timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
847
+ """
848
+ max running time of function.
849
+ """
626
850
  return pulumi.get(self, "timeout")
627
851
 
628
852
  @timeout.setter
@@ -662,9 +886,52 @@ class V2Function(pulumi.CustomResource):
662
886
  timeout: Optional[pulumi.Input[_builtins.int]] = None,
663
887
  __props__=None):
664
888
  """
665
- Create a V2Function resource with the given unique name, props, and options.
889
+ Provides a FCV2 Function resource. Function is the unit of system scheduling and operation. Functions must be subordinate to services. All functions under the same service share some identical settings, such as service authorization and log configuration.
890
+
891
+ For information about FCV2 Function and how to use it, see [What is Function](https://www.alibabacloud.com/help/en/resource-orchestration-service/latest/aliyun-fc-function).
892
+
893
+ > **NOTE:** Available since v1.208.0.
894
+
895
+ ## Import
896
+
897
+ FCV2 Function can be imported using the id, e.g.
898
+
899
+ ```sh
900
+ $ pulumi import alicloud:fc/v2Function:V2Function example <service_name>:<function_name>
901
+ ```
902
+
666
903
  :param str resource_name: The name of the resource.
667
904
  :param pulumi.ResourceOptions opts: Options for the resource.
905
+ :param pulumi.Input[_builtins.int] ca_port: The listening port of the HTTP Server when the Custom Runtime or Custom Container is running.
906
+ :param pulumi.Input[Union['V2FunctionCodeArgs', 'V2FunctionCodeArgsDict']] code: Function Code ZIP package. code and customContainerConfig choose one. See `code` below.
907
+ :param pulumi.Input[_builtins.str] code_checksum: crc64 of function code.
908
+ :param pulumi.Input[_builtins.float] cpu: The CPU specification of the function. The unit is vCPU, which is a multiple of the 0.05 vCPU.
909
+ :param pulumi.Input[Union['V2FunctionCustomContainerConfigArgs', 'V2FunctionCustomContainerConfigArgsDict']] custom_container_config: Custom-container runtime related function configuration. See `custom_container_config` below.
910
+ :param pulumi.Input[Union['V2FunctionCustomDnsArgs', 'V2FunctionCustomDnsArgsDict']] custom_dns: Function custom DNS configuration. See `custom_dns` below.
911
+ :param pulumi.Input[Union['V2FunctionCustomHealthCheckConfigArgs', 'V2FunctionCustomHealthCheckConfigArgsDict']] custom_health_check_config: Custom runtime/container Custom health check configuration. See `custom_health_check_config` below.
912
+ :param pulumi.Input[Union['V2FunctionCustomRuntimeConfigArgs', 'V2FunctionCustomRuntimeConfigArgsDict']] custom_runtime_config: Detailed configuration of Custom Runtime function. See `custom_runtime_config` below.
913
+ :param pulumi.Input[_builtins.str] description: description of function.
914
+ :param pulumi.Input[_builtins.int] disk_size: The disk specification of the function. The unit is MB. The optional value is 512 MB or 10240MB.
915
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] environment_variables: The environment variable set for the function can get the value of the environment variable in the function. For more information, see Environment Variables.
916
+ :param pulumi.Input[_builtins.str] function_name: function name.
917
+ :param pulumi.Input[_builtins.int] gpu_memory_size: The GPU memory specification of the function, in MB, is a multiple of 1024MB.
918
+ :param pulumi.Input[_builtins.str] handler: entry point of function.
919
+ :param pulumi.Input[_builtins.int] initialization_timeout: max running time of initializer.
920
+ :param pulumi.Input[_builtins.str] initializer: initializer entry point of function.
921
+ :param pulumi.Input[_builtins.int] instance_concurrency: The maximum concurrency allowed for a single function instance.
922
+ :param pulumi.Input[Union['V2FunctionInstanceLifecycleConfigArgs', 'V2FunctionInstanceLifecycleConfigArgsDict']] instance_lifecycle_config: Instance lifecycle configuration. See `instance_lifecycle_config` below.
923
+ :param pulumi.Input[_builtins.str] instance_type: The instance type of the function. Valid values:
924
+ - **e1**: Elastic instance.
925
+ - **c1**: performance instance.
926
+ - **fc.gpu.tesla.1**: the T4 card type of the Tesla series of GPU instances.
927
+ - **fc.gpu.ampere.1**: The Ampere series A10 card type of the GPU instance.
928
+ - **g1**: Same as **fc.gpu.tesla.1**.
929
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] layers: List of layers.
930
+ > **NOTE:** Multiple layers will be merged in the order of array subscripts from large to small, and the contents of layers with small subscripts will overwrite the files with the same name of layers with large subscripts.
931
+ :param pulumi.Input[_builtins.int] memory_size: memory size needed by function.
932
+ :param pulumi.Input[_builtins.str] runtime: runtime of function code.
933
+ :param pulumi.Input[_builtins.str] service_name: The name of the function Service.
934
+ :param pulumi.Input[_builtins.int] timeout: max running time of function.
668
935
  """
669
936
  ...
670
937
  @overload
@@ -673,7 +940,20 @@ class V2Function(pulumi.CustomResource):
673
940
  args: V2FunctionArgs,
674
941
  opts: Optional[pulumi.ResourceOptions] = None):
675
942
  """
676
- Create a V2Function resource with the given unique name, props, and options.
943
+ Provides a FCV2 Function resource. Function is the unit of system scheduling and operation. Functions must be subordinate to services. All functions under the same service share some identical settings, such as service authorization and log configuration.
944
+
945
+ For information about FCV2 Function and how to use it, see [What is Function](https://www.alibabacloud.com/help/en/resource-orchestration-service/latest/aliyun-fc-function).
946
+
947
+ > **NOTE:** Available since v1.208.0.
948
+
949
+ ## Import
950
+
951
+ FCV2 Function can be imported using the id, e.g.
952
+
953
+ ```sh
954
+ $ pulumi import alicloud:fc/v2Function:V2Function example <service_name>:<function_name>
955
+ ```
956
+
677
957
  :param str resource_name: The name of the resource.
678
958
  :param V2FunctionArgs args: The arguments to use to populate this resource's properties.
679
959
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -799,6 +1079,38 @@ class V2Function(pulumi.CustomResource):
799
1079
  :param str resource_name: The unique name of the resulting resource.
800
1080
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
801
1081
  :param pulumi.ResourceOptions opts: Options for the resource.
1082
+ :param pulumi.Input[_builtins.int] ca_port: The listening port of the HTTP Server when the Custom Runtime or Custom Container is running.
1083
+ :param pulumi.Input[Union['V2FunctionCodeArgs', 'V2FunctionCodeArgsDict']] code: Function Code ZIP package. code and customContainerConfig choose one. See `code` below.
1084
+ :param pulumi.Input[_builtins.str] code_checksum: crc64 of function code.
1085
+ :param pulumi.Input[_builtins.float] cpu: The CPU specification of the function. The unit is vCPU, which is a multiple of the 0.05 vCPU.
1086
+ :param pulumi.Input[_builtins.str] create_time: create time of function.
1087
+ :param pulumi.Input[Union['V2FunctionCustomContainerConfigArgs', 'V2FunctionCustomContainerConfigArgsDict']] custom_container_config: Custom-container runtime related function configuration. See `custom_container_config` below.
1088
+ :param pulumi.Input[Union['V2FunctionCustomDnsArgs', 'V2FunctionCustomDnsArgsDict']] custom_dns: Function custom DNS configuration. See `custom_dns` below.
1089
+ :param pulumi.Input[Union['V2FunctionCustomHealthCheckConfigArgs', 'V2FunctionCustomHealthCheckConfigArgsDict']] custom_health_check_config: Custom runtime/container Custom health check configuration. See `custom_health_check_config` below.
1090
+ :param pulumi.Input[Union['V2FunctionCustomRuntimeConfigArgs', 'V2FunctionCustomRuntimeConfigArgsDict']] custom_runtime_config: Detailed configuration of Custom Runtime function. See `custom_runtime_config` below.
1091
+ :param pulumi.Input[_builtins.str] description: description of function.
1092
+ :param pulumi.Input[_builtins.int] disk_size: The disk specification of the function. The unit is MB. The optional value is 512 MB or 10240MB.
1093
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] environment_variables: The environment variable set for the function can get the value of the environment variable in the function. For more information, see Environment Variables.
1094
+ :param pulumi.Input[_builtins.str] function_arn: The Function Compute service function arn. It formats as `acs:fc:<region>:<uid>:services/<serviceName>.LATEST/functions/<functionName>`.
1095
+ :param pulumi.Input[_builtins.str] function_name: function name.
1096
+ :param pulumi.Input[_builtins.int] gpu_memory_size: The GPU memory specification of the function, in MB, is a multiple of 1024MB.
1097
+ :param pulumi.Input[_builtins.str] handler: entry point of function.
1098
+ :param pulumi.Input[_builtins.int] initialization_timeout: max running time of initializer.
1099
+ :param pulumi.Input[_builtins.str] initializer: initializer entry point of function.
1100
+ :param pulumi.Input[_builtins.int] instance_concurrency: The maximum concurrency allowed for a single function instance.
1101
+ :param pulumi.Input[Union['V2FunctionInstanceLifecycleConfigArgs', 'V2FunctionInstanceLifecycleConfigArgsDict']] instance_lifecycle_config: Instance lifecycle configuration. See `instance_lifecycle_config` below.
1102
+ :param pulumi.Input[_builtins.str] instance_type: The instance type of the function. Valid values:
1103
+ - **e1**: Elastic instance.
1104
+ - **c1**: performance instance.
1105
+ - **fc.gpu.tesla.1**: the T4 card type of the Tesla series of GPU instances.
1106
+ - **fc.gpu.ampere.1**: The Ampere series A10 card type of the GPU instance.
1107
+ - **g1**: Same as **fc.gpu.tesla.1**.
1108
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] layers: List of layers.
1109
+ > **NOTE:** Multiple layers will be merged in the order of array subscripts from large to small, and the contents of layers with small subscripts will overwrite the files with the same name of layers with large subscripts.
1110
+ :param pulumi.Input[_builtins.int] memory_size: memory size needed by function.
1111
+ :param pulumi.Input[_builtins.str] runtime: runtime of function code.
1112
+ :param pulumi.Input[_builtins.str] service_name: The name of the function Service.
1113
+ :param pulumi.Input[_builtins.int] timeout: max running time of function.
802
1114
  """
803
1115
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
804
1116
 
@@ -835,130 +1147,214 @@ class V2Function(pulumi.CustomResource):
835
1147
  @_builtins.property
836
1148
  @pulumi.getter(name="caPort")
837
1149
  def ca_port(self) -> pulumi.Output[_builtins.int]:
1150
+ """
1151
+ The listening port of the HTTP Server when the Custom Runtime or Custom Container is running.
1152
+ """
838
1153
  return pulumi.get(self, "ca_port")
839
1154
 
840
1155
  @_builtins.property
841
1156
  @pulumi.getter
842
1157
  def code(self) -> pulumi.Output[Optional['outputs.V2FunctionCode']]:
1158
+ """
1159
+ Function Code ZIP package. code and customContainerConfig choose one. See `code` below.
1160
+ """
843
1161
  return pulumi.get(self, "code")
844
1162
 
845
1163
  @_builtins.property
846
1164
  @pulumi.getter(name="codeChecksum")
847
1165
  def code_checksum(self) -> pulumi.Output[_builtins.str]:
1166
+ """
1167
+ crc64 of function code.
1168
+ """
848
1169
  return pulumi.get(self, "code_checksum")
849
1170
 
850
1171
  @_builtins.property
851
1172
  @pulumi.getter
852
1173
  def cpu(self) -> pulumi.Output[Optional[_builtins.float]]:
1174
+ """
1175
+ The CPU specification of the function. The unit is vCPU, which is a multiple of the 0.05 vCPU.
1176
+ """
853
1177
  return pulumi.get(self, "cpu")
854
1178
 
855
1179
  @_builtins.property
856
1180
  @pulumi.getter(name="createTime")
857
1181
  def create_time(self) -> pulumi.Output[_builtins.str]:
1182
+ """
1183
+ create time of function.
1184
+ """
858
1185
  return pulumi.get(self, "create_time")
859
1186
 
860
1187
  @_builtins.property
861
1188
  @pulumi.getter(name="customContainerConfig")
862
1189
  def custom_container_config(self) -> pulumi.Output[Optional['outputs.V2FunctionCustomContainerConfig']]:
1190
+ """
1191
+ Custom-container runtime related function configuration. See `custom_container_config` below.
1192
+ """
863
1193
  return pulumi.get(self, "custom_container_config")
864
1194
 
865
1195
  @_builtins.property
866
1196
  @pulumi.getter(name="customDns")
867
1197
  def custom_dns(self) -> pulumi.Output[Optional['outputs.V2FunctionCustomDns']]:
1198
+ """
1199
+ Function custom DNS configuration. See `custom_dns` below.
1200
+ """
868
1201
  return pulumi.get(self, "custom_dns")
869
1202
 
870
1203
  @_builtins.property
871
1204
  @pulumi.getter(name="customHealthCheckConfig")
872
1205
  def custom_health_check_config(self) -> pulumi.Output[Optional['outputs.V2FunctionCustomHealthCheckConfig']]:
1206
+ """
1207
+ Custom runtime/container Custom health check configuration. See `custom_health_check_config` below.
1208
+ """
873
1209
  return pulumi.get(self, "custom_health_check_config")
874
1210
 
875
1211
  @_builtins.property
876
1212
  @pulumi.getter(name="customRuntimeConfig")
877
1213
  def custom_runtime_config(self) -> pulumi.Output[Optional['outputs.V2FunctionCustomRuntimeConfig']]:
1214
+ """
1215
+ Detailed configuration of Custom Runtime function. See `custom_runtime_config` below.
1216
+ """
878
1217
  return pulumi.get(self, "custom_runtime_config")
879
1218
 
880
1219
  @_builtins.property
881
1220
  @pulumi.getter
882
1221
  def description(self) -> pulumi.Output[Optional[_builtins.str]]:
1222
+ """
1223
+ description of function.
1224
+ """
883
1225
  return pulumi.get(self, "description")
884
1226
 
885
1227
  @_builtins.property
886
1228
  @pulumi.getter(name="diskSize")
887
1229
  def disk_size(self) -> pulumi.Output[Optional[_builtins.int]]:
1230
+ """
1231
+ The disk specification of the function. The unit is MB. The optional value is 512 MB or 10240MB.
1232
+ """
888
1233
  return pulumi.get(self, "disk_size")
889
1234
 
890
1235
  @_builtins.property
891
1236
  @pulumi.getter(name="environmentVariables")
892
1237
  def environment_variables(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
1238
+ """
1239
+ The environment variable set for the function can get the value of the environment variable in the function. For more information, see Environment Variables.
1240
+ """
893
1241
  return pulumi.get(self, "environment_variables")
894
1242
 
895
1243
  @_builtins.property
896
1244
  @pulumi.getter(name="functionArn")
897
1245
  def function_arn(self) -> pulumi.Output[_builtins.str]:
1246
+ """
1247
+ The Function Compute service function arn. It formats as `acs:fc:<region>:<uid>:services/<serviceName>.LATEST/functions/<functionName>`.
1248
+ """
898
1249
  return pulumi.get(self, "function_arn")
899
1250
 
900
1251
  @_builtins.property
901
1252
  @pulumi.getter(name="functionName")
902
1253
  def function_name(self) -> pulumi.Output[_builtins.str]:
1254
+ """
1255
+ function name.
1256
+ """
903
1257
  return pulumi.get(self, "function_name")
904
1258
 
905
1259
  @_builtins.property
906
1260
  @pulumi.getter(name="gpuMemorySize")
907
1261
  def gpu_memory_size(self) -> pulumi.Output[Optional[_builtins.int]]:
1262
+ """
1263
+ The GPU memory specification of the function, in MB, is a multiple of 1024MB.
1264
+ """
908
1265
  return pulumi.get(self, "gpu_memory_size")
909
1266
 
910
1267
  @_builtins.property
911
1268
  @pulumi.getter
912
1269
  def handler(self) -> pulumi.Output[_builtins.str]:
1270
+ """
1271
+ entry point of function.
1272
+ """
913
1273
  return pulumi.get(self, "handler")
914
1274
 
915
1275
  @_builtins.property
916
1276
  @pulumi.getter(name="initializationTimeout")
917
1277
  def initialization_timeout(self) -> pulumi.Output[_builtins.int]:
1278
+ """
1279
+ max running time of initializer.
1280
+ """
918
1281
  return pulumi.get(self, "initialization_timeout")
919
1282
 
920
1283
  @_builtins.property
921
1284
  @pulumi.getter
922
1285
  def initializer(self) -> pulumi.Output[Optional[_builtins.str]]:
1286
+ """
1287
+ initializer entry point of function.
1288
+ """
923
1289
  return pulumi.get(self, "initializer")
924
1290
 
925
1291
  @_builtins.property
926
1292
  @pulumi.getter(name="instanceConcurrency")
927
1293
  def instance_concurrency(self) -> pulumi.Output[_builtins.int]:
1294
+ """
1295
+ The maximum concurrency allowed for a single function instance.
1296
+ """
928
1297
  return pulumi.get(self, "instance_concurrency")
929
1298
 
930
1299
  @_builtins.property
931
1300
  @pulumi.getter(name="instanceLifecycleConfig")
932
1301
  def instance_lifecycle_config(self) -> pulumi.Output[Optional['outputs.V2FunctionInstanceLifecycleConfig']]:
1302
+ """
1303
+ Instance lifecycle configuration. See `instance_lifecycle_config` below.
1304
+ """
933
1305
  return pulumi.get(self, "instance_lifecycle_config")
934
1306
 
935
1307
  @_builtins.property
936
1308
  @pulumi.getter(name="instanceType")
937
1309
  def instance_type(self) -> pulumi.Output[_builtins.str]:
1310
+ """
1311
+ The instance type of the function. Valid values:
1312
+ - **e1**: Elastic instance.
1313
+ - **c1**: performance instance.
1314
+ - **fc.gpu.tesla.1**: the T4 card type of the Tesla series of GPU instances.
1315
+ - **fc.gpu.ampere.1**: The Ampere series A10 card type of the GPU instance.
1316
+ - **g1**: Same as **fc.gpu.tesla.1**.
1317
+ """
938
1318
  return pulumi.get(self, "instance_type")
939
1319
 
940
1320
  @_builtins.property
941
1321
  @pulumi.getter
942
1322
  def layers(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
1323
+ """
1324
+ List of layers.
1325
+ > **NOTE:** Multiple layers will be merged in the order of array subscripts from large to small, and the contents of layers with small subscripts will overwrite the files with the same name of layers with large subscripts.
1326
+ """
943
1327
  return pulumi.get(self, "layers")
944
1328
 
945
1329
  @_builtins.property
946
1330
  @pulumi.getter(name="memorySize")
947
1331
  def memory_size(self) -> pulumi.Output[_builtins.int]:
1332
+ """
1333
+ memory size needed by function.
1334
+ """
948
1335
  return pulumi.get(self, "memory_size")
949
1336
 
950
1337
  @_builtins.property
951
1338
  @pulumi.getter
952
1339
  def runtime(self) -> pulumi.Output[_builtins.str]:
1340
+ """
1341
+ runtime of function code.
1342
+ """
953
1343
  return pulumi.get(self, "runtime")
954
1344
 
955
1345
  @_builtins.property
956
1346
  @pulumi.getter(name="serviceName")
957
1347
  def service_name(self) -> pulumi.Output[_builtins.str]:
1348
+ """
1349
+ The name of the function Service.
1350
+ """
958
1351
  return pulumi.get(self, "service_name")
959
1352
 
960
1353
  @_builtins.property
961
1354
  @pulumi.getter
962
1355
  def timeout(self) -> pulumi.Output[_builtins.int]:
1356
+ """
1357
+ max running time of function.
1358
+ """
963
1359
  return pulumi.get(self, "timeout")
964
1360