pulumi-alicloud 3.65.1a1731504533__py3-none-any.whl → 3.66.0__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.

Files changed (44) hide show
  1. pulumi_alicloud/__init__.py +94 -0
  2. pulumi_alicloud/alikafka/instance.py +112 -0
  3. pulumi_alicloud/cloudsso/_inputs.py +9 -9
  4. pulumi_alicloud/cloudsso/access_configuration.py +100 -34
  5. pulumi_alicloud/cloudsso/outputs.py +6 -6
  6. pulumi_alicloud/esa/__init__.py +9 -0
  7. pulumi_alicloud/esa/rate_plan_instance.py +626 -0
  8. pulumi_alicloud/esa/site.py +533 -0
  9. pulumi_alicloud/fc/_inputs.py +243 -135
  10. pulumi_alicloud/fc/outputs.py +173 -90
  11. pulumi_alicloud/fc/v3_alias.py +28 -0
  12. pulumi_alicloud/fc/v3_async_invoke_config.py +56 -0
  13. pulumi_alicloud/fc/v3_concurrency_config.py +28 -0
  14. pulumi_alicloud/fc/v3_custom_domain.py +118 -6
  15. pulumi_alicloud/fc/v3_function.py +308 -0
  16. pulumi_alicloud/fc/v3_function_version.py +30 -2
  17. pulumi_alicloud/fc/v3_layer_version.py +104 -1
  18. pulumi_alicloud/fc/v3_provision_config.py +86 -2
  19. pulumi_alicloud/fc/v3_trigger.py +114 -0
  20. pulumi_alicloud/gwlb/__init__.py +12 -0
  21. pulumi_alicloud/gwlb/_inputs.py +673 -0
  22. pulumi_alicloud/gwlb/listener.py +434 -0
  23. pulumi_alicloud/gwlb/load_balancer.py +537 -0
  24. pulumi_alicloud/gwlb/outputs.py +533 -0
  25. pulumi_alicloud/gwlb/server_group.py +780 -0
  26. pulumi_alicloud/oss/__init__.py +2 -0
  27. pulumi_alicloud/oss/_inputs.py +194 -0
  28. pulumi_alicloud/oss/bucket_cname.py +509 -0
  29. pulumi_alicloud/oss/bucket_cname_token.py +239 -0
  30. pulumi_alicloud/oss/outputs.py +141 -0
  31. pulumi_alicloud/pulumi-plugin.json +1 -1
  32. pulumi_alicloud/quotas/_inputs.py +6 -6
  33. pulumi_alicloud/quotas/outputs.py +4 -4
  34. pulumi_alicloud/quotas/quota_application.py +21 -28
  35. pulumi_alicloud/redis/tair_instance.py +21 -77
  36. pulumi_alicloud/vpc/__init__.py +4 -0
  37. pulumi_alicloud/vpc/ipam_ipam.py +531 -0
  38. pulumi_alicloud/vpc/ipam_ipam_pool.py +850 -0
  39. pulumi_alicloud/vpc/ipam_ipam_pool_cidr.py +313 -0
  40. pulumi_alicloud/vpc/ipam_ipam_scope.py +537 -0
  41. {pulumi_alicloud-3.65.1a1731504533.dist-info → pulumi_alicloud-3.66.0.dist-info}/METADATA +1 -1
  42. {pulumi_alicloud-3.65.1a1731504533.dist-info → pulumi_alicloud-3.66.0.dist-info}/RECORD +44 -29
  43. {pulumi_alicloud-3.65.1a1731504533.dist-info → pulumi_alicloud-3.66.0.dist-info}/WHEEL +0 -0
  44. {pulumi_alicloud-3.65.1a1731504533.dist-info → pulumi_alicloud-3.66.0.dist-info}/top_level.txt +0 -0
@@ -396,6 +396,7 @@ class V3FunctionArgs:
396
396
  class _V3FunctionState:
397
397
  def __init__(__self__, *,
398
398
  code: Optional[pulumi.Input['V3FunctionCodeArgs']] = None,
399
+ code_size: Optional[pulumi.Input[int]] = None,
399
400
  cpu: Optional[pulumi.Input[float]] = None,
400
401
  create_time: Optional[pulumi.Input[str]] = None,
401
402
  custom_container_config: Optional[pulumi.Input['V3FunctionCustomContainerConfigArgs']] = None,
@@ -404,12 +405,18 @@ class _V3FunctionState:
404
405
  description: Optional[pulumi.Input[str]] = None,
405
406
  disk_size: Optional[pulumi.Input[int]] = None,
406
407
  environment_variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
408
+ function_arn: Optional[pulumi.Input[str]] = None,
409
+ function_id: Optional[pulumi.Input[str]] = None,
407
410
  function_name: Optional[pulumi.Input[str]] = None,
408
411
  gpu_config: Optional[pulumi.Input['V3FunctionGpuConfigArgs']] = None,
409
412
  handler: Optional[pulumi.Input[str]] = None,
410
413
  instance_concurrency: Optional[pulumi.Input[int]] = None,
411
414
  instance_lifecycle_config: Optional[pulumi.Input['V3FunctionInstanceLifecycleConfigArgs']] = None,
412
415
  internet_access: Optional[pulumi.Input[bool]] = None,
416
+ last_modified_time: Optional[pulumi.Input[str]] = None,
417
+ last_update_status: Optional[pulumi.Input[str]] = None,
418
+ last_update_status_reason: Optional[pulumi.Input[str]] = None,
419
+ last_update_status_reason_code: Optional[pulumi.Input[str]] = None,
413
420
  layers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
414
421
  log_config: Optional[pulumi.Input['V3FunctionLogConfigArgs']] = None,
415
422
  memory_size: Optional[pulumi.Input[int]] = None,
@@ -417,11 +424,16 @@ class _V3FunctionState:
417
424
  oss_mount_config: Optional[pulumi.Input['V3FunctionOssMountConfigArgs']] = None,
418
425
  role: Optional[pulumi.Input[str]] = None,
419
426
  runtime: Optional[pulumi.Input[str]] = None,
427
+ state: Optional[pulumi.Input[str]] = None,
428
+ state_reason: Optional[pulumi.Input[str]] = None,
429
+ state_reason_code: Optional[pulumi.Input[str]] = None,
420
430
  timeout: Optional[pulumi.Input[int]] = None,
431
+ tracing_config: Optional[pulumi.Input['V3FunctionTracingConfigArgs']] = None,
421
432
  vpc_config: Optional[pulumi.Input['V3FunctionVpcConfigArgs']] = None):
422
433
  """
423
434
  Input properties used for looking up and filtering V3Function resources.
424
435
  :param pulumi.Input['V3FunctionCodeArgs'] code: Function code ZIP package. code and customContainerConfig. See `code` below.
436
+ :param pulumi.Input[int] code_size: The code package size of the function returned by the system, in byte Example : 1024
425
437
  :param pulumi.Input[float] cpu: The CPU specification of the function. The unit is vCPU, which is a multiple of the 0.05 vCPU.
426
438
  :param pulumi.Input[str] create_time: The creation time of the function.
427
439
  :param pulumi.Input['V3FunctionCustomContainerConfigArgs'] custom_container_config: The configuration of the custom container runtime. After the configuration is successful, the function can use the custom container image to execute the function. code and customContainerConfig. See `custom_container_config` below.
@@ -430,12 +442,18 @@ class _V3FunctionState:
430
442
  :param pulumi.Input[str] description: The description of the function. The function compute system does not use this attribute value, but we recommend that you set a concise and clear description for the function.
431
443
  :param pulumi.Input[int] disk_size: The disk specification of the function, in MB. The optional value is 512 MB or 10240MB.
432
444
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_variables: The environment variable set for the function, you can get the value of the environment variable in the function.
445
+ :param pulumi.Input[str] function_arn: ARN of function
446
+ :param pulumi.Input[str] function_id: The first ID of the resource
433
447
  :param pulumi.Input[str] function_name: The function name. Consists of uppercase and lowercase letters, digits (0 to 9), underscores (_), and dashes (-). It must begin with an English letter (a ~ z), (A ~ Z), or an underscore (_). Case sensitive. The length is 1~128 characters.
434
448
  :param pulumi.Input['V3FunctionGpuConfigArgs'] gpu_config: Function GPU configuration. See `gpu_config` below.
435
449
  :param pulumi.Input[str] handler: Function Handler: the call entry for the function compute system to run your function.
436
450
  :param pulumi.Input[int] instance_concurrency: Maximum instance concurrency.
437
451
  :param pulumi.Input['V3FunctionInstanceLifecycleConfigArgs'] instance_lifecycle_config: Instance lifecycle callback method configuration. See `instance_lifecycle_config` below.
438
452
  :param pulumi.Input[bool] internet_access: Allow function to access public network
453
+ :param pulumi.Input[str] last_modified_time: Last time the function was Updated
454
+ :param pulumi.Input[str] last_update_status: The status of the last function update operation. When the function is created successfully, the value is Successful. Optional values are Successful, Failed, and InProgress.
455
+ :param pulumi.Input[str] last_update_status_reason: The reason that caused the last function to update the Operation State to the current value
456
+ :param pulumi.Input[str] last_update_status_reason_code: Status code of the reason that caused the last function update operation status to the current value
439
457
  :param pulumi.Input[Sequence[pulumi.Input[str]]] layers: The list of layers.
440
458
  :param pulumi.Input['V3FunctionLogConfigArgs'] log_config: The logs generated by the function are written to the configured Logstore. See `log_config` below.
441
459
  :param pulumi.Input[int] memory_size: The memory specification of the function. The unit is MB. The memory size is a multiple of 64MB. The minimum value is 128MB and the maximum value is 32GB. At the same time, the ratio of cpu to memorySize (calculated by GB) should be between 1:1 and 1:4.
@@ -443,11 +461,17 @@ class _V3FunctionState:
443
461
  :param pulumi.Input['V3FunctionOssMountConfigArgs'] oss_mount_config: OSS mount configuration See `oss_mount_config` below.
444
462
  :param pulumi.Input[str] role: The user is authorized to the RAM role of function compute. After the configuration, function compute will assume this role to generate temporary access credentials. In the function, you can use the temporary access credentials of the role to access the specified Alibaba cloud service, such as OSS and OTS
445
463
  :param pulumi.Input[str] runtime: Function runtime type
464
+ :param pulumi.Input[str] state: Function Status
465
+ :param pulumi.Input[str] state_reason: The reason why the function is in the current state
466
+ :param pulumi.Input[str] state_reason_code: The status code of the reason the function is in the current state.
446
467
  :param pulumi.Input[int] timeout: The maximum running time of the function, in seconds.
468
+ :param pulumi.Input['V3FunctionTracingConfigArgs'] tracing_config: Tracing configuration
447
469
  :param pulumi.Input['V3FunctionVpcConfigArgs'] vpc_config: VPC configuration. After this parameter is configured, the function can access the specified VPC resources. See `vpc_config` below.
448
470
  """
449
471
  if code is not None:
450
472
  pulumi.set(__self__, "code", code)
473
+ if code_size is not None:
474
+ pulumi.set(__self__, "code_size", code_size)
451
475
  if cpu is not None:
452
476
  pulumi.set(__self__, "cpu", cpu)
453
477
  if create_time is not None:
@@ -464,6 +488,10 @@ class _V3FunctionState:
464
488
  pulumi.set(__self__, "disk_size", disk_size)
465
489
  if environment_variables is not None:
466
490
  pulumi.set(__self__, "environment_variables", environment_variables)
491
+ if function_arn is not None:
492
+ pulumi.set(__self__, "function_arn", function_arn)
493
+ if function_id is not None:
494
+ pulumi.set(__self__, "function_id", function_id)
467
495
  if function_name is not None:
468
496
  pulumi.set(__self__, "function_name", function_name)
469
497
  if gpu_config is not None:
@@ -476,6 +504,14 @@ class _V3FunctionState:
476
504
  pulumi.set(__self__, "instance_lifecycle_config", instance_lifecycle_config)
477
505
  if internet_access is not None:
478
506
  pulumi.set(__self__, "internet_access", internet_access)
507
+ if last_modified_time is not None:
508
+ pulumi.set(__self__, "last_modified_time", last_modified_time)
509
+ if last_update_status is not None:
510
+ pulumi.set(__self__, "last_update_status", last_update_status)
511
+ if last_update_status_reason is not None:
512
+ pulumi.set(__self__, "last_update_status_reason", last_update_status_reason)
513
+ if last_update_status_reason_code is not None:
514
+ pulumi.set(__self__, "last_update_status_reason_code", last_update_status_reason_code)
479
515
  if layers is not None:
480
516
  pulumi.set(__self__, "layers", layers)
481
517
  if log_config is not None:
@@ -490,8 +526,16 @@ class _V3FunctionState:
490
526
  pulumi.set(__self__, "role", role)
491
527
  if runtime is not None:
492
528
  pulumi.set(__self__, "runtime", runtime)
529
+ if state is not None:
530
+ pulumi.set(__self__, "state", state)
531
+ if state_reason is not None:
532
+ pulumi.set(__self__, "state_reason", state_reason)
533
+ if state_reason_code is not None:
534
+ pulumi.set(__self__, "state_reason_code", state_reason_code)
493
535
  if timeout is not None:
494
536
  pulumi.set(__self__, "timeout", timeout)
537
+ if tracing_config is not None:
538
+ pulumi.set(__self__, "tracing_config", tracing_config)
495
539
  if vpc_config is not None:
496
540
  pulumi.set(__self__, "vpc_config", vpc_config)
497
541
 
@@ -507,6 +551,18 @@ class _V3FunctionState:
507
551
  def code(self, value: Optional[pulumi.Input['V3FunctionCodeArgs']]):
508
552
  pulumi.set(self, "code", value)
509
553
 
554
+ @property
555
+ @pulumi.getter(name="codeSize")
556
+ def code_size(self) -> Optional[pulumi.Input[int]]:
557
+ """
558
+ The code package size of the function returned by the system, in byte Example : 1024
559
+ """
560
+ return pulumi.get(self, "code_size")
561
+
562
+ @code_size.setter
563
+ def code_size(self, value: Optional[pulumi.Input[int]]):
564
+ pulumi.set(self, "code_size", value)
565
+
510
566
  @property
511
567
  @pulumi.getter
512
568
  def cpu(self) -> Optional[pulumi.Input[float]]:
@@ -603,6 +659,30 @@ class _V3FunctionState:
603
659
  def environment_variables(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
604
660
  pulumi.set(self, "environment_variables", value)
605
661
 
662
+ @property
663
+ @pulumi.getter(name="functionArn")
664
+ def function_arn(self) -> Optional[pulumi.Input[str]]:
665
+ """
666
+ ARN of function
667
+ """
668
+ return pulumi.get(self, "function_arn")
669
+
670
+ @function_arn.setter
671
+ def function_arn(self, value: Optional[pulumi.Input[str]]):
672
+ pulumi.set(self, "function_arn", value)
673
+
674
+ @property
675
+ @pulumi.getter(name="functionId")
676
+ def function_id(self) -> Optional[pulumi.Input[str]]:
677
+ """
678
+ The first ID of the resource
679
+ """
680
+ return pulumi.get(self, "function_id")
681
+
682
+ @function_id.setter
683
+ def function_id(self, value: Optional[pulumi.Input[str]]):
684
+ pulumi.set(self, "function_id", value)
685
+
606
686
  @property
607
687
  @pulumi.getter(name="functionName")
608
688
  def function_name(self) -> Optional[pulumi.Input[str]]:
@@ -675,6 +755,54 @@ class _V3FunctionState:
675
755
  def internet_access(self, value: Optional[pulumi.Input[bool]]):
676
756
  pulumi.set(self, "internet_access", value)
677
757
 
758
+ @property
759
+ @pulumi.getter(name="lastModifiedTime")
760
+ def last_modified_time(self) -> Optional[pulumi.Input[str]]:
761
+ """
762
+ Last time the function was Updated
763
+ """
764
+ return pulumi.get(self, "last_modified_time")
765
+
766
+ @last_modified_time.setter
767
+ def last_modified_time(self, value: Optional[pulumi.Input[str]]):
768
+ pulumi.set(self, "last_modified_time", value)
769
+
770
+ @property
771
+ @pulumi.getter(name="lastUpdateStatus")
772
+ def last_update_status(self) -> Optional[pulumi.Input[str]]:
773
+ """
774
+ The status of the last function update operation. When the function is created successfully, the value is Successful. Optional values are Successful, Failed, and InProgress.
775
+ """
776
+ return pulumi.get(self, "last_update_status")
777
+
778
+ @last_update_status.setter
779
+ def last_update_status(self, value: Optional[pulumi.Input[str]]):
780
+ pulumi.set(self, "last_update_status", value)
781
+
782
+ @property
783
+ @pulumi.getter(name="lastUpdateStatusReason")
784
+ def last_update_status_reason(self) -> Optional[pulumi.Input[str]]:
785
+ """
786
+ The reason that caused the last function to update the Operation State to the current value
787
+ """
788
+ return pulumi.get(self, "last_update_status_reason")
789
+
790
+ @last_update_status_reason.setter
791
+ def last_update_status_reason(self, value: Optional[pulumi.Input[str]]):
792
+ pulumi.set(self, "last_update_status_reason", value)
793
+
794
+ @property
795
+ @pulumi.getter(name="lastUpdateStatusReasonCode")
796
+ def last_update_status_reason_code(self) -> Optional[pulumi.Input[str]]:
797
+ """
798
+ Status code of the reason that caused the last function update operation status to the current value
799
+ """
800
+ return pulumi.get(self, "last_update_status_reason_code")
801
+
802
+ @last_update_status_reason_code.setter
803
+ def last_update_status_reason_code(self, value: Optional[pulumi.Input[str]]):
804
+ pulumi.set(self, "last_update_status_reason_code", value)
805
+
678
806
  @property
679
807
  @pulumi.getter
680
808
  def layers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
@@ -759,6 +887,42 @@ class _V3FunctionState:
759
887
  def runtime(self, value: Optional[pulumi.Input[str]]):
760
888
  pulumi.set(self, "runtime", value)
761
889
 
890
+ @property
891
+ @pulumi.getter
892
+ def state(self) -> Optional[pulumi.Input[str]]:
893
+ """
894
+ Function Status
895
+ """
896
+ return pulumi.get(self, "state")
897
+
898
+ @state.setter
899
+ def state(self, value: Optional[pulumi.Input[str]]):
900
+ pulumi.set(self, "state", value)
901
+
902
+ @property
903
+ @pulumi.getter(name="stateReason")
904
+ def state_reason(self) -> Optional[pulumi.Input[str]]:
905
+ """
906
+ The reason why the function is in the current state
907
+ """
908
+ return pulumi.get(self, "state_reason")
909
+
910
+ @state_reason.setter
911
+ def state_reason(self, value: Optional[pulumi.Input[str]]):
912
+ pulumi.set(self, "state_reason", value)
913
+
914
+ @property
915
+ @pulumi.getter(name="stateReasonCode")
916
+ def state_reason_code(self) -> Optional[pulumi.Input[str]]:
917
+ """
918
+ The status code of the reason the function is in the current state.
919
+ """
920
+ return pulumi.get(self, "state_reason_code")
921
+
922
+ @state_reason_code.setter
923
+ def state_reason_code(self, value: Optional[pulumi.Input[str]]):
924
+ pulumi.set(self, "state_reason_code", value)
925
+
762
926
  @property
763
927
  @pulumi.getter
764
928
  def timeout(self) -> Optional[pulumi.Input[int]]:
@@ -771,6 +935,18 @@ class _V3FunctionState:
771
935
  def timeout(self, value: Optional[pulumi.Input[int]]):
772
936
  pulumi.set(self, "timeout", value)
773
937
 
938
+ @property
939
+ @pulumi.getter(name="tracingConfig")
940
+ def tracing_config(self) -> Optional[pulumi.Input['V3FunctionTracingConfigArgs']]:
941
+ """
942
+ Tracing configuration
943
+ """
944
+ return pulumi.get(self, "tracing_config")
945
+
946
+ @tracing_config.setter
947
+ def tracing_config(self, value: Optional[pulumi.Input['V3FunctionTracingConfigArgs']]):
948
+ pulumi.set(self, "tracing_config", value)
949
+
774
950
  @property
775
951
  @pulumi.getter(name="vpcConfig")
776
952
  def vpc_config(self) -> Optional[pulumi.Input['V3FunctionVpcConfigArgs']]:
@@ -1103,7 +1279,18 @@ class V3Function(pulumi.CustomResource):
1103
1279
  __props__.__dict__["runtime"] = runtime
1104
1280
  __props__.__dict__["timeout"] = timeout
1105
1281
  __props__.__dict__["vpc_config"] = vpc_config
1282
+ __props__.__dict__["code_size"] = None
1106
1283
  __props__.__dict__["create_time"] = None
1284
+ __props__.__dict__["function_arn"] = None
1285
+ __props__.__dict__["function_id"] = None
1286
+ __props__.__dict__["last_modified_time"] = None
1287
+ __props__.__dict__["last_update_status"] = None
1288
+ __props__.__dict__["last_update_status_reason"] = None
1289
+ __props__.__dict__["last_update_status_reason_code"] = None
1290
+ __props__.__dict__["state"] = None
1291
+ __props__.__dict__["state_reason"] = None
1292
+ __props__.__dict__["state_reason_code"] = None
1293
+ __props__.__dict__["tracing_config"] = None
1107
1294
  secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["layers"])
1108
1295
  opts = pulumi.ResourceOptions.merge(opts, secret_opts)
1109
1296
  super(V3Function, __self__).__init__(
@@ -1117,6 +1304,7 @@ class V3Function(pulumi.CustomResource):
1117
1304
  id: pulumi.Input[str],
1118
1305
  opts: Optional[pulumi.ResourceOptions] = None,
1119
1306
  code: Optional[pulumi.Input[Union['V3FunctionCodeArgs', 'V3FunctionCodeArgsDict']]] = None,
1307
+ code_size: Optional[pulumi.Input[int]] = None,
1120
1308
  cpu: Optional[pulumi.Input[float]] = None,
1121
1309
  create_time: Optional[pulumi.Input[str]] = None,
1122
1310
  custom_container_config: Optional[pulumi.Input[Union['V3FunctionCustomContainerConfigArgs', 'V3FunctionCustomContainerConfigArgsDict']]] = None,
@@ -1125,12 +1313,18 @@ class V3Function(pulumi.CustomResource):
1125
1313
  description: Optional[pulumi.Input[str]] = None,
1126
1314
  disk_size: Optional[pulumi.Input[int]] = None,
1127
1315
  environment_variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1316
+ function_arn: Optional[pulumi.Input[str]] = None,
1317
+ function_id: Optional[pulumi.Input[str]] = None,
1128
1318
  function_name: Optional[pulumi.Input[str]] = None,
1129
1319
  gpu_config: Optional[pulumi.Input[Union['V3FunctionGpuConfigArgs', 'V3FunctionGpuConfigArgsDict']]] = None,
1130
1320
  handler: Optional[pulumi.Input[str]] = None,
1131
1321
  instance_concurrency: Optional[pulumi.Input[int]] = None,
1132
1322
  instance_lifecycle_config: Optional[pulumi.Input[Union['V3FunctionInstanceLifecycleConfigArgs', 'V3FunctionInstanceLifecycleConfigArgsDict']]] = None,
1133
1323
  internet_access: Optional[pulumi.Input[bool]] = None,
1324
+ last_modified_time: Optional[pulumi.Input[str]] = None,
1325
+ last_update_status: Optional[pulumi.Input[str]] = None,
1326
+ last_update_status_reason: Optional[pulumi.Input[str]] = None,
1327
+ last_update_status_reason_code: Optional[pulumi.Input[str]] = None,
1134
1328
  layers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1135
1329
  log_config: Optional[pulumi.Input[Union['V3FunctionLogConfigArgs', 'V3FunctionLogConfigArgsDict']]] = None,
1136
1330
  memory_size: Optional[pulumi.Input[int]] = None,
@@ -1138,7 +1332,11 @@ class V3Function(pulumi.CustomResource):
1138
1332
  oss_mount_config: Optional[pulumi.Input[Union['V3FunctionOssMountConfigArgs', 'V3FunctionOssMountConfigArgsDict']]] = None,
1139
1333
  role: Optional[pulumi.Input[str]] = None,
1140
1334
  runtime: Optional[pulumi.Input[str]] = None,
1335
+ state: Optional[pulumi.Input[str]] = None,
1336
+ state_reason: Optional[pulumi.Input[str]] = None,
1337
+ state_reason_code: Optional[pulumi.Input[str]] = None,
1141
1338
  timeout: Optional[pulumi.Input[int]] = None,
1339
+ tracing_config: Optional[pulumi.Input[Union['V3FunctionTracingConfigArgs', 'V3FunctionTracingConfigArgsDict']]] = None,
1142
1340
  vpc_config: Optional[pulumi.Input[Union['V3FunctionVpcConfigArgs', 'V3FunctionVpcConfigArgsDict']]] = None) -> 'V3Function':
1143
1341
  """
1144
1342
  Get an existing V3Function resource's state with the given name, id, and optional extra
@@ -1148,6 +1346,7 @@ class V3Function(pulumi.CustomResource):
1148
1346
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1149
1347
  :param pulumi.ResourceOptions opts: Options for the resource.
1150
1348
  :param pulumi.Input[Union['V3FunctionCodeArgs', 'V3FunctionCodeArgsDict']] code: Function code ZIP package. code and customContainerConfig. See `code` below.
1349
+ :param pulumi.Input[int] code_size: The code package size of the function returned by the system, in byte Example : 1024
1151
1350
  :param pulumi.Input[float] cpu: The CPU specification of the function. The unit is vCPU, which is a multiple of the 0.05 vCPU.
1152
1351
  :param pulumi.Input[str] create_time: The creation time of the function.
1153
1352
  :param pulumi.Input[Union['V3FunctionCustomContainerConfigArgs', 'V3FunctionCustomContainerConfigArgsDict']] custom_container_config: The configuration of the custom container runtime. After the configuration is successful, the function can use the custom container image to execute the function. code and customContainerConfig. See `custom_container_config` below.
@@ -1156,12 +1355,18 @@ class V3Function(pulumi.CustomResource):
1156
1355
  :param pulumi.Input[str] description: The description of the function. The function compute system does not use this attribute value, but we recommend that you set a concise and clear description for the function.
1157
1356
  :param pulumi.Input[int] disk_size: The disk specification of the function, in MB. The optional value is 512 MB or 10240MB.
1158
1357
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_variables: The environment variable set for the function, you can get the value of the environment variable in the function.
1358
+ :param pulumi.Input[str] function_arn: ARN of function
1359
+ :param pulumi.Input[str] function_id: The first ID of the resource
1159
1360
  :param pulumi.Input[str] function_name: The function name. Consists of uppercase and lowercase letters, digits (0 to 9), underscores (_), and dashes (-). It must begin with an English letter (a ~ z), (A ~ Z), or an underscore (_). Case sensitive. The length is 1~128 characters.
1160
1361
  :param pulumi.Input[Union['V3FunctionGpuConfigArgs', 'V3FunctionGpuConfigArgsDict']] gpu_config: Function GPU configuration. See `gpu_config` below.
1161
1362
  :param pulumi.Input[str] handler: Function Handler: the call entry for the function compute system to run your function.
1162
1363
  :param pulumi.Input[int] instance_concurrency: Maximum instance concurrency.
1163
1364
  :param pulumi.Input[Union['V3FunctionInstanceLifecycleConfigArgs', 'V3FunctionInstanceLifecycleConfigArgsDict']] instance_lifecycle_config: Instance lifecycle callback method configuration. See `instance_lifecycle_config` below.
1164
1365
  :param pulumi.Input[bool] internet_access: Allow function to access public network
1366
+ :param pulumi.Input[str] last_modified_time: Last time the function was Updated
1367
+ :param pulumi.Input[str] last_update_status: The status of the last function update operation. When the function is created successfully, the value is Successful. Optional values are Successful, Failed, and InProgress.
1368
+ :param pulumi.Input[str] last_update_status_reason: The reason that caused the last function to update the Operation State to the current value
1369
+ :param pulumi.Input[str] last_update_status_reason_code: Status code of the reason that caused the last function update operation status to the current value
1165
1370
  :param pulumi.Input[Sequence[pulumi.Input[str]]] layers: The list of layers.
1166
1371
  :param pulumi.Input[Union['V3FunctionLogConfigArgs', 'V3FunctionLogConfigArgsDict']] log_config: The logs generated by the function are written to the configured Logstore. See `log_config` below.
1167
1372
  :param pulumi.Input[int] memory_size: The memory specification of the function. The unit is MB. The memory size is a multiple of 64MB. The minimum value is 128MB and the maximum value is 32GB. At the same time, the ratio of cpu to memorySize (calculated by GB) should be between 1:1 and 1:4.
@@ -1169,7 +1374,11 @@ class V3Function(pulumi.CustomResource):
1169
1374
  :param pulumi.Input[Union['V3FunctionOssMountConfigArgs', 'V3FunctionOssMountConfigArgsDict']] oss_mount_config: OSS mount configuration See `oss_mount_config` below.
1170
1375
  :param pulumi.Input[str] role: The user is authorized to the RAM role of function compute. After the configuration, function compute will assume this role to generate temporary access credentials. In the function, you can use the temporary access credentials of the role to access the specified Alibaba cloud service, such as OSS and OTS
1171
1376
  :param pulumi.Input[str] runtime: Function runtime type
1377
+ :param pulumi.Input[str] state: Function Status
1378
+ :param pulumi.Input[str] state_reason: The reason why the function is in the current state
1379
+ :param pulumi.Input[str] state_reason_code: The status code of the reason the function is in the current state.
1172
1380
  :param pulumi.Input[int] timeout: The maximum running time of the function, in seconds.
1381
+ :param pulumi.Input[Union['V3FunctionTracingConfigArgs', 'V3FunctionTracingConfigArgsDict']] tracing_config: Tracing configuration
1173
1382
  :param pulumi.Input[Union['V3FunctionVpcConfigArgs', 'V3FunctionVpcConfigArgsDict']] vpc_config: VPC configuration. After this parameter is configured, the function can access the specified VPC resources. See `vpc_config` below.
1174
1383
  """
1175
1384
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -1177,6 +1386,7 @@ class V3Function(pulumi.CustomResource):
1177
1386
  __props__ = _V3FunctionState.__new__(_V3FunctionState)
1178
1387
 
1179
1388
  __props__.__dict__["code"] = code
1389
+ __props__.__dict__["code_size"] = code_size
1180
1390
  __props__.__dict__["cpu"] = cpu
1181
1391
  __props__.__dict__["create_time"] = create_time
1182
1392
  __props__.__dict__["custom_container_config"] = custom_container_config
@@ -1185,12 +1395,18 @@ class V3Function(pulumi.CustomResource):
1185
1395
  __props__.__dict__["description"] = description
1186
1396
  __props__.__dict__["disk_size"] = disk_size
1187
1397
  __props__.__dict__["environment_variables"] = environment_variables
1398
+ __props__.__dict__["function_arn"] = function_arn
1399
+ __props__.__dict__["function_id"] = function_id
1188
1400
  __props__.__dict__["function_name"] = function_name
1189
1401
  __props__.__dict__["gpu_config"] = gpu_config
1190
1402
  __props__.__dict__["handler"] = handler
1191
1403
  __props__.__dict__["instance_concurrency"] = instance_concurrency
1192
1404
  __props__.__dict__["instance_lifecycle_config"] = instance_lifecycle_config
1193
1405
  __props__.__dict__["internet_access"] = internet_access
1406
+ __props__.__dict__["last_modified_time"] = last_modified_time
1407
+ __props__.__dict__["last_update_status"] = last_update_status
1408
+ __props__.__dict__["last_update_status_reason"] = last_update_status_reason
1409
+ __props__.__dict__["last_update_status_reason_code"] = last_update_status_reason_code
1194
1410
  __props__.__dict__["layers"] = layers
1195
1411
  __props__.__dict__["log_config"] = log_config
1196
1412
  __props__.__dict__["memory_size"] = memory_size
@@ -1198,7 +1414,11 @@ class V3Function(pulumi.CustomResource):
1198
1414
  __props__.__dict__["oss_mount_config"] = oss_mount_config
1199
1415
  __props__.__dict__["role"] = role
1200
1416
  __props__.__dict__["runtime"] = runtime
1417
+ __props__.__dict__["state"] = state
1418
+ __props__.__dict__["state_reason"] = state_reason
1419
+ __props__.__dict__["state_reason_code"] = state_reason_code
1201
1420
  __props__.__dict__["timeout"] = timeout
1421
+ __props__.__dict__["tracing_config"] = tracing_config
1202
1422
  __props__.__dict__["vpc_config"] = vpc_config
1203
1423
  return V3Function(resource_name, opts=opts, __props__=__props__)
1204
1424
 
@@ -1210,6 +1430,14 @@ class V3Function(pulumi.CustomResource):
1210
1430
  """
1211
1431
  return pulumi.get(self, "code")
1212
1432
 
1433
+ @property
1434
+ @pulumi.getter(name="codeSize")
1435
+ def code_size(self) -> pulumi.Output[int]:
1436
+ """
1437
+ The code package size of the function returned by the system, in byte Example : 1024
1438
+ """
1439
+ return pulumi.get(self, "code_size")
1440
+
1213
1441
  @property
1214
1442
  @pulumi.getter
1215
1443
  def cpu(self) -> pulumi.Output[float]:
@@ -1274,6 +1502,22 @@ class V3Function(pulumi.CustomResource):
1274
1502
  """
1275
1503
  return pulumi.get(self, "environment_variables")
1276
1504
 
1505
+ @property
1506
+ @pulumi.getter(name="functionArn")
1507
+ def function_arn(self) -> pulumi.Output[str]:
1508
+ """
1509
+ ARN of function
1510
+ """
1511
+ return pulumi.get(self, "function_arn")
1512
+
1513
+ @property
1514
+ @pulumi.getter(name="functionId")
1515
+ def function_id(self) -> pulumi.Output[str]:
1516
+ """
1517
+ The first ID of the resource
1518
+ """
1519
+ return pulumi.get(self, "function_id")
1520
+
1277
1521
  @property
1278
1522
  @pulumi.getter(name="functionName")
1279
1523
  def function_name(self) -> pulumi.Output[str]:
@@ -1322,6 +1566,38 @@ class V3Function(pulumi.CustomResource):
1322
1566
  """
1323
1567
  return pulumi.get(self, "internet_access")
1324
1568
 
1569
+ @property
1570
+ @pulumi.getter(name="lastModifiedTime")
1571
+ def last_modified_time(self) -> pulumi.Output[str]:
1572
+ """
1573
+ Last time the function was Updated
1574
+ """
1575
+ return pulumi.get(self, "last_modified_time")
1576
+
1577
+ @property
1578
+ @pulumi.getter(name="lastUpdateStatus")
1579
+ def last_update_status(self) -> pulumi.Output[str]:
1580
+ """
1581
+ The status of the last function update operation. When the function is created successfully, the value is Successful. Optional values are Successful, Failed, and InProgress.
1582
+ """
1583
+ return pulumi.get(self, "last_update_status")
1584
+
1585
+ @property
1586
+ @pulumi.getter(name="lastUpdateStatusReason")
1587
+ def last_update_status_reason(self) -> pulumi.Output[str]:
1588
+ """
1589
+ The reason that caused the last function to update the Operation State to the current value
1590
+ """
1591
+ return pulumi.get(self, "last_update_status_reason")
1592
+
1593
+ @property
1594
+ @pulumi.getter(name="lastUpdateStatusReasonCode")
1595
+ def last_update_status_reason_code(self) -> pulumi.Output[str]:
1596
+ """
1597
+ Status code of the reason that caused the last function update operation status to the current value
1598
+ """
1599
+ return pulumi.get(self, "last_update_status_reason_code")
1600
+
1325
1601
  @property
1326
1602
  @pulumi.getter
1327
1603
  def layers(self) -> pulumi.Output[Optional[Sequence[str]]]:
@@ -1378,6 +1654,30 @@ class V3Function(pulumi.CustomResource):
1378
1654
  """
1379
1655
  return pulumi.get(self, "runtime")
1380
1656
 
1657
+ @property
1658
+ @pulumi.getter
1659
+ def state(self) -> pulumi.Output[str]:
1660
+ """
1661
+ Function Status
1662
+ """
1663
+ return pulumi.get(self, "state")
1664
+
1665
+ @property
1666
+ @pulumi.getter(name="stateReason")
1667
+ def state_reason(self) -> pulumi.Output[str]:
1668
+ """
1669
+ The reason why the function is in the current state
1670
+ """
1671
+ return pulumi.get(self, "state_reason")
1672
+
1673
+ @property
1674
+ @pulumi.getter(name="stateReasonCode")
1675
+ def state_reason_code(self) -> pulumi.Output[str]:
1676
+ """
1677
+ The status code of the reason the function is in the current state.
1678
+ """
1679
+ return pulumi.get(self, "state_reason_code")
1680
+
1381
1681
  @property
1382
1682
  @pulumi.getter
1383
1683
  def timeout(self) -> pulumi.Output[int]:
@@ -1386,6 +1686,14 @@ class V3Function(pulumi.CustomResource):
1386
1686
  """
1387
1687
  return pulumi.get(self, "timeout")
1388
1688
 
1689
+ @property
1690
+ @pulumi.getter(name="tracingConfig")
1691
+ def tracing_config(self) -> pulumi.Output['outputs.V3FunctionTracingConfig']:
1692
+ """
1693
+ Tracing configuration
1694
+ """
1695
+ return pulumi.get(self, "tracing_config")
1696
+
1389
1697
  @property
1390
1698
  @pulumi.getter(name="vpcConfig")
1391
1699
  def vpc_config(self) -> pulumi.Output['outputs.V3FunctionVpcConfig']:
@@ -60,12 +60,14 @@ class _V3FunctionVersionState:
60
60
  def __init__(__self__, *,
61
61
  create_time: Optional[pulumi.Input[str]] = None,
62
62
  description: Optional[pulumi.Input[str]] = None,
63
- function_name: Optional[pulumi.Input[str]] = None):
63
+ function_name: Optional[pulumi.Input[str]] = None,
64
+ last_modified_time: Optional[pulumi.Input[str]] = None):
64
65
  """
65
66
  Input properties used for looking up and filtering V3FunctionVersion resources.
66
67
  :param pulumi.Input[str] create_time: The creation time of the resource
67
68
  :param pulumi.Input[str] description: Description of the function version
68
69
  :param pulumi.Input[str] function_name: Function Name
70
+ :param pulumi.Input[str] last_modified_time: (Available since v1.234.0) Update time
69
71
  """
70
72
  if create_time is not None:
71
73
  pulumi.set(__self__, "create_time", create_time)
@@ -73,6 +75,8 @@ class _V3FunctionVersionState:
73
75
  pulumi.set(__self__, "description", description)
74
76
  if function_name is not None:
75
77
  pulumi.set(__self__, "function_name", function_name)
78
+ if last_modified_time is not None:
79
+ pulumi.set(__self__, "last_modified_time", last_modified_time)
76
80
 
77
81
  @property
78
82
  @pulumi.getter(name="createTime")
@@ -110,6 +114,18 @@ class _V3FunctionVersionState:
110
114
  def function_name(self, value: Optional[pulumi.Input[str]]):
111
115
  pulumi.set(self, "function_name", value)
112
116
 
117
+ @property
118
+ @pulumi.getter(name="lastModifiedTime")
119
+ def last_modified_time(self) -> Optional[pulumi.Input[str]]:
120
+ """
121
+ (Available since v1.234.0) Update time
122
+ """
123
+ return pulumi.get(self, "last_modified_time")
124
+
125
+ @last_modified_time.setter
126
+ def last_modified_time(self, value: Optional[pulumi.Input[str]]):
127
+ pulumi.set(self, "last_modified_time", value)
128
+
113
129
 
114
130
  class V3FunctionVersion(pulumi.CustomResource):
115
131
  @overload
@@ -259,6 +275,7 @@ class V3FunctionVersion(pulumi.CustomResource):
259
275
  raise TypeError("Missing required property 'function_name'")
260
276
  __props__.__dict__["function_name"] = function_name
261
277
  __props__.__dict__["create_time"] = None
278
+ __props__.__dict__["last_modified_time"] = None
262
279
  super(V3FunctionVersion, __self__).__init__(
263
280
  'alicloud:fc/v3FunctionVersion:V3FunctionVersion',
264
281
  resource_name,
@@ -271,7 +288,8 @@ class V3FunctionVersion(pulumi.CustomResource):
271
288
  opts: Optional[pulumi.ResourceOptions] = None,
272
289
  create_time: Optional[pulumi.Input[str]] = None,
273
290
  description: Optional[pulumi.Input[str]] = None,
274
- function_name: Optional[pulumi.Input[str]] = None) -> 'V3FunctionVersion':
291
+ function_name: Optional[pulumi.Input[str]] = None,
292
+ last_modified_time: Optional[pulumi.Input[str]] = None) -> 'V3FunctionVersion':
275
293
  """
276
294
  Get an existing V3FunctionVersion resource's state with the given name, id, and optional extra
277
295
  properties used to qualify the lookup.
@@ -282,6 +300,7 @@ class V3FunctionVersion(pulumi.CustomResource):
282
300
  :param pulumi.Input[str] create_time: The creation time of the resource
283
301
  :param pulumi.Input[str] description: Description of the function version
284
302
  :param pulumi.Input[str] function_name: Function Name
303
+ :param pulumi.Input[str] last_modified_time: (Available since v1.234.0) Update time
285
304
  """
286
305
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
287
306
 
@@ -290,6 +309,7 @@ class V3FunctionVersion(pulumi.CustomResource):
290
309
  __props__.__dict__["create_time"] = create_time
291
310
  __props__.__dict__["description"] = description
292
311
  __props__.__dict__["function_name"] = function_name
312
+ __props__.__dict__["last_modified_time"] = last_modified_time
293
313
  return V3FunctionVersion(resource_name, opts=opts, __props__=__props__)
294
314
 
295
315
  @property
@@ -316,3 +336,11 @@ class V3FunctionVersion(pulumi.CustomResource):
316
336
  """
317
337
  return pulumi.get(self, "function_name")
318
338
 
339
+ @property
340
+ @pulumi.getter(name="lastModifiedTime")
341
+ def last_modified_time(self) -> pulumi.Output[str]:
342
+ """
343
+ (Available since v1.234.0) Update time
344
+ """
345
+ return pulumi.get(self, "last_modified_time")
346
+