pulumi-alicloud 3.60.0a1723455033__py3-none-any.whl → 3.60.0a1723462134__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 (122) hide show
  1. pulumi_alicloud/__init__.py +150 -0
  2. pulumi_alicloud/adb/resource_group.py +48 -20
  3. pulumi_alicloud/alb/_inputs.py +22 -22
  4. pulumi_alicloud/alb/load_balancer.py +119 -133
  5. pulumi_alicloud/alb/outputs.py +22 -22
  6. pulumi_alicloud/alb/server_group.py +2 -2
  7. pulumi_alicloud/aligreen/__init__.py +13 -0
  8. pulumi_alicloud/aligreen/audit_callback.py +422 -0
  9. pulumi_alicloud/aligreen/biz_type.py +398 -0
  10. pulumi_alicloud/aligreen/callback.py +449 -0
  11. pulumi_alicloud/aligreen/image_lib.py +406 -0
  12. pulumi_alicloud/aligreen/keyword_lib.py +615 -0
  13. pulumi_alicloud/aligreen/oss_stock_task.py +1661 -0
  14. pulumi_alicloud/amqp/binding.py +94 -102
  15. pulumi_alicloud/apigateway/__init__.py +2 -0
  16. pulumi_alicloud/apigateway/_inputs.py +221 -2
  17. pulumi_alicloud/apigateway/access_control_list.py +17 -9
  18. pulumi_alicloud/apigateway/acl_entry_attachment.py +303 -0
  19. pulumi_alicloud/apigateway/api.py +4 -2
  20. pulumi_alicloud/apigateway/group.py +51 -2
  21. pulumi_alicloud/apigateway/instance.py +396 -63
  22. pulumi_alicloud/apigateway/instance_acl_attachment.py +326 -0
  23. pulumi_alicloud/apigateway/outputs.py +223 -2
  24. pulumi_alicloud/apigateway/vpc_access.py +2 -2
  25. pulumi_alicloud/arms/get_remote_writes.py +4 -0
  26. pulumi_alicloud/arms/outputs.py +2 -2
  27. pulumi_alicloud/arms/remote_write.py +4 -0
  28. pulumi_alicloud/cen/route_entry.py +2 -2
  29. pulumi_alicloud/cen/vbr_health_check.py +1 -1
  30. pulumi_alicloud/cfg/aggregate_delivery.py +255 -118
  31. pulumi_alicloud/cfg/delivery.py +259 -122
  32. pulumi_alicloud/clickhouse/_inputs.py +39 -0
  33. pulumi_alicloud/clickhouse/db_cluster.py +66 -6
  34. pulumi_alicloud/clickhouse/outputs.py +50 -0
  35. pulumi_alicloud/cloudfirewall/__init__.py +1 -0
  36. pulumi_alicloud/cloudfirewall/control_policy.py +116 -108
  37. pulumi_alicloud/cloudfirewall/vpc_cen_tr_firewall.py +929 -0
  38. pulumi_alicloud/cloudmonitor/service_monitoring_agent_process.py +2 -2
  39. pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +0 -76
  40. pulumi_alicloud/cms/_inputs.py +214 -42
  41. pulumi_alicloud/cms/alarm.py +61 -14
  42. pulumi_alicloud/cms/dynamic_tag_group.py +53 -51
  43. pulumi_alicloud/cms/metric_rule_black_list.py +2 -2
  44. pulumi_alicloud/cms/metric_rule_template.py +54 -87
  45. pulumi_alicloud/cms/outputs.py +214 -42
  46. pulumi_alicloud/cs/get_kubernetes_clusters.py +4 -2
  47. pulumi_alicloud/cs/outputs.py +2 -2
  48. pulumi_alicloud/databasefilesystem/instance_attachment.py +2 -2
  49. pulumi_alicloud/databasefilesystem/snapshot.py +2 -2
  50. pulumi_alicloud/ddos/basic_threshold.py +2 -2
  51. pulumi_alicloud/ddos/bgp_ip.py +2 -6
  52. pulumi_alicloud/eci/get_container_groups.py +2 -2
  53. pulumi_alicloud/ecs/ecs_disk_attachment.py +2 -2
  54. pulumi_alicloud/ecs/ecs_image_pipeline.py +2 -2
  55. pulumi_alicloud/ecs/ecs_instance_set.py +2 -2
  56. pulumi_alicloud/ecs/ecs_invocation.py +2 -2
  57. pulumi_alicloud/ecs/ecs_key_pair_attachment.py +2 -2
  58. pulumi_alicloud/ecs/ecs_launch_template.py +9 -9
  59. pulumi_alicloud/ecs/ecs_network_interface_attachment.py +2 -2
  60. pulumi_alicloud/ecs/eip_association.py +4 -6
  61. pulumi_alicloud/ecs/get_ecs_network_interfaces.py +46 -6
  62. pulumi_alicloud/ecs/get_instances.py +3 -3
  63. pulumi_alicloud/ecs/get_network_interfaces.py +5 -5
  64. pulumi_alicloud/ecs/image.py +4 -6
  65. pulumi_alicloud/ecs/image_copy.py +2 -2
  66. pulumi_alicloud/ecs/image_export.py +2 -2
  67. pulumi_alicloud/ecs/image_import.py +14 -6
  68. pulumi_alicloud/ecs/image_share_permission.py +2 -2
  69. pulumi_alicloud/ecs/instance.py +7 -7
  70. pulumi_alicloud/ecs/outputs.py +48 -26
  71. pulumi_alicloud/edas/instance_cluster_attachment.py +2 -2
  72. pulumi_alicloud/eds/outputs.py +10 -10
  73. pulumi_alicloud/ess/scaling_group.py +101 -7
  74. pulumi_alicloud/fc/__init__.py +7 -0
  75. pulumi_alicloud/fc/_inputs.py +1666 -0
  76. pulumi_alicloud/fc/outputs.py +1723 -2
  77. pulumi_alicloud/fc/v3_alias.py +440 -0
  78. pulumi_alicloud/fc/v3_async_invoke_config.py +439 -0
  79. pulumi_alicloud/fc/v3_concurrency_config.py +281 -0
  80. pulumi_alicloud/fc/v3_custom_domain.py +847 -0
  81. pulumi_alicloud/fc/v3_function.py +1391 -0
  82. pulumi_alicloud/fc/v3_function_version.py +313 -0
  83. pulumi_alicloud/fc/v3_trigger.py +663 -0
  84. pulumi_alicloud/ga/basic_accelerator.py +8 -8
  85. pulumi_alicloud/governance/__init__.py +12 -0
  86. pulumi_alicloud/governance/_inputs.py +70 -0
  87. pulumi_alicloud/governance/account.py +505 -0
  88. pulumi_alicloud/governance/baseline.py +387 -0
  89. pulumi_alicloud/governance/get_baselines.py +241 -0
  90. pulumi_alicloud/governance/outputs.py +99 -0
  91. pulumi_alicloud/hbr/ecs_backup_client.py +2 -2
  92. pulumi_alicloud/hbr/ecs_backup_plan.py +2 -2
  93. pulumi_alicloud/hbr/server_backup_plan.py +2 -2
  94. pulumi_alicloud/kvstore/instance.py +47 -0
  95. pulumi_alicloud/kvstore/outputs.py +2 -2
  96. pulumi_alicloud/maxcompute/get_projects.py +12 -14
  97. pulumi_alicloud/maxcompute/get_service.py +4 -0
  98. pulumi_alicloud/maxcompute/outputs.py +75 -60
  99. pulumi_alicloud/maxcompute/project.py +7 -7
  100. pulumi_alicloud/polardb/outputs.py +2 -2
  101. pulumi_alicloud/privatelink/outputs.py +2 -2
  102. pulumi_alicloud/pulumi-plugin.json +1 -1
  103. pulumi_alicloud/ram/login_profile.py +8 -8
  104. pulumi_alicloud/rds/get_instances.py +1 -1
  105. pulumi_alicloud/rds/rds_account.py +189 -49
  106. pulumi_alicloud/rds/read_write_splitting_connection.py +10 -2
  107. pulumi_alicloud/slb/get_application_load_balancers.py +3 -3
  108. pulumi_alicloud/slb/get_load_balancers.py +3 -3
  109. pulumi_alicloud/slb/load_balancer.py +7 -7
  110. pulumi_alicloud/slb/outputs.py +8 -8
  111. pulumi_alicloud/slb/server_group_server_attachment.py +2 -2
  112. pulumi_alicloud/vpc/bgp_peer.py +1 -1
  113. pulumi_alicloud/vpc/get_networks.py +2 -2
  114. pulumi_alicloud/vpc/get_switches.py +27 -27
  115. pulumi_alicloud/vpc/ha_vip_attachment.py +2 -2
  116. pulumi_alicloud/vpc/outputs.py +24 -24
  117. pulumi_alicloud/vpc/traffic_mirror_session.py +2 -2
  118. pulumi_alicloud/vpn/outputs.py +4 -4
  119. {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/METADATA +1 -1
  120. {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/RECORD +122 -99
  121. {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/WHEEL +0 -0
  122. {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/top_level.txt +0 -0
@@ -846,8 +846,8 @@ class LoadBalancerAccessLogConfig(dict):
846
846
  log_project: str,
847
847
  log_store: str):
848
848
  """
849
- :param str log_project: This Log Storage Project.
850
- :param str log_store: This Log Storage Method Is Increased.
849
+ :param str log_project: The project to which the access log is shipped.
850
+ :param str log_store: The Logstore to which the access log is shipped.
851
851
  """
852
852
  pulumi.set(__self__, "log_project", log_project)
853
853
  pulumi.set(__self__, "log_store", log_store)
@@ -856,7 +856,7 @@ class LoadBalancerAccessLogConfig(dict):
856
856
  @pulumi.getter(name="logProject")
857
857
  def log_project(self) -> str:
858
858
  """
859
- This Log Storage Project.
859
+ The project to which the access log is shipped.
860
860
  """
861
861
  return pulumi.get(self, "log_project")
862
862
 
@@ -864,7 +864,7 @@ class LoadBalancerAccessLogConfig(dict):
864
864
  @pulumi.getter(name="logStore")
865
865
  def log_store(self) -> str:
866
866
  """
867
- This Log Storage Method Is Increased.
867
+ The Logstore to which the access log is shipped.
868
868
  """
869
869
  return pulumi.get(self, "log_store")
870
870
 
@@ -891,7 +891,7 @@ class LoadBalancerLoadBalancerBillingConfig(dict):
891
891
  def __init__(__self__, *,
892
892
  pay_type: str):
893
893
  """
894
- :param str pay_type: Pay Type. Valid values: `PayAsYouGo`. **Note:** provider changes the payment type to `PayAsYouGo`, while the actual parameter on api is `PostPay`.
894
+ :param str pay_type: The billing method of the ALB instance. Valid values: `PayAsYouGo`.
895
895
  """
896
896
  pulumi.set(__self__, "pay_type", pay_type)
897
897
 
@@ -899,7 +899,7 @@ class LoadBalancerLoadBalancerBillingConfig(dict):
899
899
  @pulumi.getter(name="payType")
900
900
  def pay_type(self) -> str:
901
901
  """
902
- Pay Type. Valid values: `PayAsYouGo`. **Note:** provider changes the payment type to `PayAsYouGo`, while the actual parameter on api is `PostPay`.
902
+ The billing method of the ALB instance. Valid values: `PayAsYouGo`.
903
903
  """
904
904
  return pulumi.get(self, "pay_type")
905
905
 
@@ -910,8 +910,8 @@ class LoadBalancerModificationProtectionConfig(dict):
910
910
  reason: Optional[str] = None,
911
911
  status: Optional[str] = None):
912
912
  """
913
- :param str reason: Managed Instance.
914
- :param str status: Load Balancing Modify the Protection Status.
913
+ :param str reason: The reason for enabling the configuration read-only mode. **NOTE:** `reason` takes effect only if `status` is set to `ConsoleProtection`.
914
+ :param str status: Specifies whether to enable the configuration read-only mode. Valid values: `ConsoleProtection`, `NonProtection`.
915
915
  """
916
916
  if reason is not None:
917
917
  pulumi.set(__self__, "reason", reason)
@@ -922,7 +922,7 @@ class LoadBalancerModificationProtectionConfig(dict):
922
922
  @pulumi.getter
923
923
  def reason(self) -> Optional[str]:
924
924
  """
925
- Managed Instance.
925
+ The reason for enabling the configuration read-only mode. **NOTE:** `reason` takes effect only if `status` is set to `ConsoleProtection`.
926
926
  """
927
927
  return pulumi.get(self, "reason")
928
928
 
@@ -930,7 +930,7 @@ class LoadBalancerModificationProtectionConfig(dict):
930
930
  @pulumi.getter
931
931
  def status(self) -> Optional[str]:
932
932
  """
933
- Load Balancing Modify the Protection Status.
933
+ Specifies whether to enable the configuration read-only mode. Valid values: `ConsoleProtection`, `NonProtection`.
934
934
  """
935
935
  return pulumi.get(self, "status")
936
936
 
@@ -963,9 +963,9 @@ class LoadBalancerZoneMapping(dict):
963
963
  zone_id: str,
964
964
  load_balancer_addresses: Optional[Sequence['outputs.LoadBalancerZoneMappingLoadBalancerAddress']] = None):
965
965
  """
966
- :param str vswitch_id: The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
967
- :param str zone_id: The ID of the zone to which the SLB instance belongs.
968
- :param Sequence['LoadBalancerZoneMappingLoadBalancerAddressArgs'] load_balancer_addresses: The SLB Instance Address.
966
+ :param str vswitch_id: The ID of the VSwitch.
967
+ :param str zone_id: The zone ID of the ALB instance.
968
+ :param Sequence['LoadBalancerZoneMappingLoadBalancerAddressArgs'] load_balancer_addresses: The IP address of the ALB instance.
969
969
  """
970
970
  pulumi.set(__self__, "vswitch_id", vswitch_id)
971
971
  pulumi.set(__self__, "zone_id", zone_id)
@@ -976,7 +976,7 @@ class LoadBalancerZoneMapping(dict):
976
976
  @pulumi.getter(name="vswitchId")
977
977
  def vswitch_id(self) -> str:
978
978
  """
979
- The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
979
+ The ID of the VSwitch.
980
980
  """
981
981
  return pulumi.get(self, "vswitch_id")
982
982
 
@@ -984,7 +984,7 @@ class LoadBalancerZoneMapping(dict):
984
984
  @pulumi.getter(name="zoneId")
985
985
  def zone_id(self) -> str:
986
986
  """
987
- The ID of the zone to which the SLB instance belongs.
987
+ The zone ID of the ALB instance.
988
988
  """
989
989
  return pulumi.get(self, "zone_id")
990
990
 
@@ -992,7 +992,7 @@ class LoadBalancerZoneMapping(dict):
992
992
  @pulumi.getter(name="loadBalancerAddresses")
993
993
  def load_balancer_addresses(self) -> Optional[Sequence['outputs.LoadBalancerZoneMappingLoadBalancerAddress']]:
994
994
  """
995
- The SLB Instance Address.
995
+ The IP address of the ALB instance.
996
996
  """
997
997
  return pulumi.get(self, "load_balancer_addresses")
998
998
 
@@ -1026,9 +1026,9 @@ class LoadBalancerZoneMappingLoadBalancerAddress(dict):
1026
1026
  eip_type: Optional[str] = None,
1027
1027
  ipv6_address: Optional[str] = None):
1028
1028
  """
1029
- :param str address: IP Address. The Public IP Address, and Private IP Address from the Address Type.
1030
- :param str allocation_id: The ID of the EIP instance.
1031
- :param str eip_type: The type of the EIP instance.
1029
+ :param str address: IP address. The Public IP Address, and Private IP Address from the Address Type.
1030
+ :param str allocation_id: The ID of the EIP.
1031
+ :param str eip_type: The type of the EIP.
1032
1032
  :param str ipv6_address: Ipv6 address.
1033
1033
  """
1034
1034
  if address is not None:
@@ -1044,7 +1044,7 @@ class LoadBalancerZoneMappingLoadBalancerAddress(dict):
1044
1044
  @pulumi.getter
1045
1045
  def address(self) -> Optional[str]:
1046
1046
  """
1047
- IP Address. The Public IP Address, and Private IP Address from the Address Type.
1047
+ IP address. The Public IP Address, and Private IP Address from the Address Type.
1048
1048
  """
1049
1049
  return pulumi.get(self, "address")
1050
1050
 
@@ -1052,7 +1052,7 @@ class LoadBalancerZoneMappingLoadBalancerAddress(dict):
1052
1052
  @pulumi.getter(name="allocationId")
1053
1053
  def allocation_id(self) -> Optional[str]:
1054
1054
  """
1055
- The ID of the EIP instance.
1055
+ The ID of the EIP.
1056
1056
  """
1057
1057
  return pulumi.get(self, "allocation_id")
1058
1058
 
@@ -1060,7 +1060,7 @@ class LoadBalancerZoneMappingLoadBalancerAddress(dict):
1060
1060
  @pulumi.getter(name="eipType")
1061
1061
  def eip_type(self) -> Optional[str]:
1062
1062
  """
1063
- The type of the EIP instance.
1063
+ The type of the EIP.
1064
1064
  """
1065
1065
  return pulumi.get(self, "eip_type")
1066
1066
 
@@ -448,7 +448,7 @@ class ServerGroup(pulumi.CustomResource):
448
448
  example_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=example_get_zones.zones[0].id,
449
449
  cpu_core_count=1,
450
450
  memory_size=2)
451
- example_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_[0-9]+_[0-9]+_x64*",
451
+ example_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
452
452
  owners="system")
453
453
  example_network = alicloud.vpc.Network("example",
454
454
  vpc_name=name,
@@ -565,7 +565,7 @@ class ServerGroup(pulumi.CustomResource):
565
565
  example_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=example_get_zones.zones[0].id,
566
566
  cpu_core_count=1,
567
567
  memory_size=2)
568
- example_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_[0-9]+_[0-9]+_x64*",
568
+ example_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
569
569
  owners="system")
570
570
  example_network = alicloud.vpc.Network("example",
571
571
  vpc_name=name,
@@ -0,0 +1,13 @@
1
+ # coding=utf-8
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
+
5
+ from .. import _utilities
6
+ import typing
7
+ # Export this package's modules as members:
8
+ from .audit_callback import *
9
+ from .biz_type import *
10
+ from .callback import *
11
+ from .image_lib import *
12
+ from .keyword_lib import *
13
+ from .oss_stock_task import *
@@ -0,0 +1,422 @@
1
+ # coding=utf-8
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
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+
12
+ __all__ = ['AuditCallbackArgs', 'AuditCallback']
13
+
14
+ @pulumi.input_type
15
+ class AuditCallbackArgs:
16
+ def __init__(__self__, *,
17
+ audit_callback_name: pulumi.Input[str],
18
+ callback_suggestions: pulumi.Input[Sequence[pulumi.Input[str]]],
19
+ callback_types: pulumi.Input[Sequence[pulumi.Input[str]]],
20
+ crypt_type: pulumi.Input[str],
21
+ url: pulumi.Input[str]):
22
+ """
23
+ The set of arguments for constructing a AuditCallback resource.
24
+ :param pulumi.Input[str] audit_callback_name: The AuditCallback name defined by the customer. It can contain no more than 20 characters in Chinese, English, underscore (_), and digits.
25
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] callback_suggestions: List of audit results supported by message notification. Value: block: confirmed violation, review: Suspected violation, review: normal.
26
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] callback_types: A list of Callback types. Value: machineScan: Machine audit result notification, selfAudit: self-service audit notification.
27
+ :param pulumi.Input[str] crypt_type: The encryption algorithm is used to verify that the callback request is sent by the content security service to your business service. The value is SHA256:SHA256 encryption algorithm and SM3: SM3 encryption algorithm.
28
+ :param pulumi.Input[str] url: The detection result will be called back to the url.
29
+ """
30
+ pulumi.set(__self__, "audit_callback_name", audit_callback_name)
31
+ pulumi.set(__self__, "callback_suggestions", callback_suggestions)
32
+ pulumi.set(__self__, "callback_types", callback_types)
33
+ pulumi.set(__self__, "crypt_type", crypt_type)
34
+ pulumi.set(__self__, "url", url)
35
+
36
+ @property
37
+ @pulumi.getter(name="auditCallbackName")
38
+ def audit_callback_name(self) -> pulumi.Input[str]:
39
+ """
40
+ The AuditCallback name defined by the customer. It can contain no more than 20 characters in Chinese, English, underscore (_), and digits.
41
+ """
42
+ return pulumi.get(self, "audit_callback_name")
43
+
44
+ @audit_callback_name.setter
45
+ def audit_callback_name(self, value: pulumi.Input[str]):
46
+ pulumi.set(self, "audit_callback_name", value)
47
+
48
+ @property
49
+ @pulumi.getter(name="callbackSuggestions")
50
+ def callback_suggestions(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
51
+ """
52
+ List of audit results supported by message notification. Value: block: confirmed violation, review: Suspected violation, review: normal.
53
+ """
54
+ return pulumi.get(self, "callback_suggestions")
55
+
56
+ @callback_suggestions.setter
57
+ def callback_suggestions(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
58
+ pulumi.set(self, "callback_suggestions", value)
59
+
60
+ @property
61
+ @pulumi.getter(name="callbackTypes")
62
+ def callback_types(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
63
+ """
64
+ A list of Callback types. Value: machineScan: Machine audit result notification, selfAudit: self-service audit notification.
65
+ """
66
+ return pulumi.get(self, "callback_types")
67
+
68
+ @callback_types.setter
69
+ def callback_types(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
70
+ pulumi.set(self, "callback_types", value)
71
+
72
+ @property
73
+ @pulumi.getter(name="cryptType")
74
+ def crypt_type(self) -> pulumi.Input[str]:
75
+ """
76
+ The encryption algorithm is used to verify that the callback request is sent by the content security service to your business service. The value is SHA256:SHA256 encryption algorithm and SM3: SM3 encryption algorithm.
77
+ """
78
+ return pulumi.get(self, "crypt_type")
79
+
80
+ @crypt_type.setter
81
+ def crypt_type(self, value: pulumi.Input[str]):
82
+ pulumi.set(self, "crypt_type", value)
83
+
84
+ @property
85
+ @pulumi.getter
86
+ def url(self) -> pulumi.Input[str]:
87
+ """
88
+ The detection result will be called back to the url.
89
+ """
90
+ return pulumi.get(self, "url")
91
+
92
+ @url.setter
93
+ def url(self, value: pulumi.Input[str]):
94
+ pulumi.set(self, "url", value)
95
+
96
+
97
+ @pulumi.input_type
98
+ class _AuditCallbackState:
99
+ def __init__(__self__, *,
100
+ audit_callback_name: Optional[pulumi.Input[str]] = None,
101
+ callback_suggestions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
102
+ callback_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
103
+ crypt_type: Optional[pulumi.Input[str]] = None,
104
+ url: Optional[pulumi.Input[str]] = None):
105
+ """
106
+ Input properties used for looking up and filtering AuditCallback resources.
107
+ :param pulumi.Input[str] audit_callback_name: The AuditCallback name defined by the customer. It can contain no more than 20 characters in Chinese, English, underscore (_), and digits.
108
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] callback_suggestions: List of audit results supported by message notification. Value: block: confirmed violation, review: Suspected violation, review: normal.
109
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] callback_types: A list of Callback types. Value: machineScan: Machine audit result notification, selfAudit: self-service audit notification.
110
+ :param pulumi.Input[str] crypt_type: The encryption algorithm is used to verify that the callback request is sent by the content security service to your business service. The value is SHA256:SHA256 encryption algorithm and SM3: SM3 encryption algorithm.
111
+ :param pulumi.Input[str] url: The detection result will be called back to the url.
112
+ """
113
+ if audit_callback_name is not None:
114
+ pulumi.set(__self__, "audit_callback_name", audit_callback_name)
115
+ if callback_suggestions is not None:
116
+ pulumi.set(__self__, "callback_suggestions", callback_suggestions)
117
+ if callback_types is not None:
118
+ pulumi.set(__self__, "callback_types", callback_types)
119
+ if crypt_type is not None:
120
+ pulumi.set(__self__, "crypt_type", crypt_type)
121
+ if url is not None:
122
+ pulumi.set(__self__, "url", url)
123
+
124
+ @property
125
+ @pulumi.getter(name="auditCallbackName")
126
+ def audit_callback_name(self) -> Optional[pulumi.Input[str]]:
127
+ """
128
+ The AuditCallback name defined by the customer. It can contain no more than 20 characters in Chinese, English, underscore (_), and digits.
129
+ """
130
+ return pulumi.get(self, "audit_callback_name")
131
+
132
+ @audit_callback_name.setter
133
+ def audit_callback_name(self, value: Optional[pulumi.Input[str]]):
134
+ pulumi.set(self, "audit_callback_name", value)
135
+
136
+ @property
137
+ @pulumi.getter(name="callbackSuggestions")
138
+ def callback_suggestions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
139
+ """
140
+ List of audit results supported by message notification. Value: block: confirmed violation, review: Suspected violation, review: normal.
141
+ """
142
+ return pulumi.get(self, "callback_suggestions")
143
+
144
+ @callback_suggestions.setter
145
+ def callback_suggestions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
146
+ pulumi.set(self, "callback_suggestions", value)
147
+
148
+ @property
149
+ @pulumi.getter(name="callbackTypes")
150
+ def callback_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
151
+ """
152
+ A list of Callback types. Value: machineScan: Machine audit result notification, selfAudit: self-service audit notification.
153
+ """
154
+ return pulumi.get(self, "callback_types")
155
+
156
+ @callback_types.setter
157
+ def callback_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
158
+ pulumi.set(self, "callback_types", value)
159
+
160
+ @property
161
+ @pulumi.getter(name="cryptType")
162
+ def crypt_type(self) -> Optional[pulumi.Input[str]]:
163
+ """
164
+ The encryption algorithm is used to verify that the callback request is sent by the content security service to your business service. The value is SHA256:SHA256 encryption algorithm and SM3: SM3 encryption algorithm.
165
+ """
166
+ return pulumi.get(self, "crypt_type")
167
+
168
+ @crypt_type.setter
169
+ def crypt_type(self, value: Optional[pulumi.Input[str]]):
170
+ pulumi.set(self, "crypt_type", value)
171
+
172
+ @property
173
+ @pulumi.getter
174
+ def url(self) -> Optional[pulumi.Input[str]]:
175
+ """
176
+ The detection result will be called back to the url.
177
+ """
178
+ return pulumi.get(self, "url")
179
+
180
+ @url.setter
181
+ def url(self, value: Optional[pulumi.Input[str]]):
182
+ pulumi.set(self, "url", value)
183
+
184
+
185
+ class AuditCallback(pulumi.CustomResource):
186
+ @overload
187
+ def __init__(__self__,
188
+ resource_name: str,
189
+ opts: Optional[pulumi.ResourceOptions] = None,
190
+ audit_callback_name: Optional[pulumi.Input[str]] = None,
191
+ callback_suggestions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
192
+ callback_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
193
+ crypt_type: Optional[pulumi.Input[str]] = None,
194
+ url: Optional[pulumi.Input[str]] = None,
195
+ __props__=None):
196
+ """
197
+ Provides a Aligreen Audit Callback resource.
198
+
199
+ Callback notification after detection is completed.
200
+
201
+ For information about Aligreen Audit Callback and how to use it, see [What is Audit Callback](https://www.alibabacloud.com/help/en/).
202
+
203
+ > **NOTE:** Available since v1.228.0.
204
+
205
+ ## Example Usage
206
+
207
+ Basic Usage
208
+
209
+ ```python
210
+ import pulumi
211
+ import pulumi_alicloud as alicloud
212
+
213
+ config = pulumi.Config()
214
+ name = config.get("name")
215
+ if name is None:
216
+ name = "terraform_example"
217
+ default = alicloud.aligreen.AuditCallback("default",
218
+ crypt_type="SM3",
219
+ audit_callback_name=name,
220
+ url="https://www.aliyun.com/",
221
+ callback_types=[
222
+ "aliyunAudit",
223
+ "selfAduit",
224
+ "example",
225
+ ],
226
+ callback_suggestions=[
227
+ "block",
228
+ "review",
229
+ "pass",
230
+ ])
231
+ ```
232
+
233
+ ## Import
234
+
235
+ Aligreen Audit Callback can be imported using the id, e.g.
236
+
237
+ ```sh
238
+ $ pulumi import alicloud:aligreen/auditCallback:AuditCallback example <id>
239
+ ```
240
+
241
+ :param str resource_name: The name of the resource.
242
+ :param pulumi.ResourceOptions opts: Options for the resource.
243
+ :param pulumi.Input[str] audit_callback_name: The AuditCallback name defined by the customer. It can contain no more than 20 characters in Chinese, English, underscore (_), and digits.
244
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] callback_suggestions: List of audit results supported by message notification. Value: block: confirmed violation, review: Suspected violation, review: normal.
245
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] callback_types: A list of Callback types. Value: machineScan: Machine audit result notification, selfAudit: self-service audit notification.
246
+ :param pulumi.Input[str] crypt_type: The encryption algorithm is used to verify that the callback request is sent by the content security service to your business service. The value is SHA256:SHA256 encryption algorithm and SM3: SM3 encryption algorithm.
247
+ :param pulumi.Input[str] url: The detection result will be called back to the url.
248
+ """
249
+ ...
250
+ @overload
251
+ def __init__(__self__,
252
+ resource_name: str,
253
+ args: AuditCallbackArgs,
254
+ opts: Optional[pulumi.ResourceOptions] = None):
255
+ """
256
+ Provides a Aligreen Audit Callback resource.
257
+
258
+ Callback notification after detection is completed.
259
+
260
+ For information about Aligreen Audit Callback and how to use it, see [What is Audit Callback](https://www.alibabacloud.com/help/en/).
261
+
262
+ > **NOTE:** Available since v1.228.0.
263
+
264
+ ## Example Usage
265
+
266
+ Basic Usage
267
+
268
+ ```python
269
+ import pulumi
270
+ import pulumi_alicloud as alicloud
271
+
272
+ config = pulumi.Config()
273
+ name = config.get("name")
274
+ if name is None:
275
+ name = "terraform_example"
276
+ default = alicloud.aligreen.AuditCallback("default",
277
+ crypt_type="SM3",
278
+ audit_callback_name=name,
279
+ url="https://www.aliyun.com/",
280
+ callback_types=[
281
+ "aliyunAudit",
282
+ "selfAduit",
283
+ "example",
284
+ ],
285
+ callback_suggestions=[
286
+ "block",
287
+ "review",
288
+ "pass",
289
+ ])
290
+ ```
291
+
292
+ ## Import
293
+
294
+ Aligreen Audit Callback can be imported using the id, e.g.
295
+
296
+ ```sh
297
+ $ pulumi import alicloud:aligreen/auditCallback:AuditCallback example <id>
298
+ ```
299
+
300
+ :param str resource_name: The name of the resource.
301
+ :param AuditCallbackArgs args: The arguments to use to populate this resource's properties.
302
+ :param pulumi.ResourceOptions opts: Options for the resource.
303
+ """
304
+ ...
305
+ def __init__(__self__, resource_name: str, *args, **kwargs):
306
+ resource_args, opts = _utilities.get_resource_args_opts(AuditCallbackArgs, pulumi.ResourceOptions, *args, **kwargs)
307
+ if resource_args is not None:
308
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
309
+ else:
310
+ __self__._internal_init(resource_name, *args, **kwargs)
311
+
312
+ def _internal_init(__self__,
313
+ resource_name: str,
314
+ opts: Optional[pulumi.ResourceOptions] = None,
315
+ audit_callback_name: Optional[pulumi.Input[str]] = None,
316
+ callback_suggestions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
317
+ callback_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
318
+ crypt_type: Optional[pulumi.Input[str]] = None,
319
+ url: Optional[pulumi.Input[str]] = None,
320
+ __props__=None):
321
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
322
+ if not isinstance(opts, pulumi.ResourceOptions):
323
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
324
+ if opts.id is None:
325
+ if __props__ is not None:
326
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
327
+ __props__ = AuditCallbackArgs.__new__(AuditCallbackArgs)
328
+
329
+ if audit_callback_name is None and not opts.urn:
330
+ raise TypeError("Missing required property 'audit_callback_name'")
331
+ __props__.__dict__["audit_callback_name"] = audit_callback_name
332
+ if callback_suggestions is None and not opts.urn:
333
+ raise TypeError("Missing required property 'callback_suggestions'")
334
+ __props__.__dict__["callback_suggestions"] = callback_suggestions
335
+ if callback_types is None and not opts.urn:
336
+ raise TypeError("Missing required property 'callback_types'")
337
+ __props__.__dict__["callback_types"] = callback_types
338
+ if crypt_type is None and not opts.urn:
339
+ raise TypeError("Missing required property 'crypt_type'")
340
+ __props__.__dict__["crypt_type"] = crypt_type
341
+ if url is None and not opts.urn:
342
+ raise TypeError("Missing required property 'url'")
343
+ __props__.__dict__["url"] = url
344
+ super(AuditCallback, __self__).__init__(
345
+ 'alicloud:aligreen/auditCallback:AuditCallback',
346
+ resource_name,
347
+ __props__,
348
+ opts)
349
+
350
+ @staticmethod
351
+ def get(resource_name: str,
352
+ id: pulumi.Input[str],
353
+ opts: Optional[pulumi.ResourceOptions] = None,
354
+ audit_callback_name: Optional[pulumi.Input[str]] = None,
355
+ callback_suggestions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
356
+ callback_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
357
+ crypt_type: Optional[pulumi.Input[str]] = None,
358
+ url: Optional[pulumi.Input[str]] = None) -> 'AuditCallback':
359
+ """
360
+ Get an existing AuditCallback resource's state with the given name, id, and optional extra
361
+ properties used to qualify the lookup.
362
+
363
+ :param str resource_name: The unique name of the resulting resource.
364
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
365
+ :param pulumi.ResourceOptions opts: Options for the resource.
366
+ :param pulumi.Input[str] audit_callback_name: The AuditCallback name defined by the customer. It can contain no more than 20 characters in Chinese, English, underscore (_), and digits.
367
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] callback_suggestions: List of audit results supported by message notification. Value: block: confirmed violation, review: Suspected violation, review: normal.
368
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] callback_types: A list of Callback types. Value: machineScan: Machine audit result notification, selfAudit: self-service audit notification.
369
+ :param pulumi.Input[str] crypt_type: The encryption algorithm is used to verify that the callback request is sent by the content security service to your business service. The value is SHA256:SHA256 encryption algorithm and SM3: SM3 encryption algorithm.
370
+ :param pulumi.Input[str] url: The detection result will be called back to the url.
371
+ """
372
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
373
+
374
+ __props__ = _AuditCallbackState.__new__(_AuditCallbackState)
375
+
376
+ __props__.__dict__["audit_callback_name"] = audit_callback_name
377
+ __props__.__dict__["callback_suggestions"] = callback_suggestions
378
+ __props__.__dict__["callback_types"] = callback_types
379
+ __props__.__dict__["crypt_type"] = crypt_type
380
+ __props__.__dict__["url"] = url
381
+ return AuditCallback(resource_name, opts=opts, __props__=__props__)
382
+
383
+ @property
384
+ @pulumi.getter(name="auditCallbackName")
385
+ def audit_callback_name(self) -> pulumi.Output[str]:
386
+ """
387
+ The AuditCallback name defined by the customer. It can contain no more than 20 characters in Chinese, English, underscore (_), and digits.
388
+ """
389
+ return pulumi.get(self, "audit_callback_name")
390
+
391
+ @property
392
+ @pulumi.getter(name="callbackSuggestions")
393
+ def callback_suggestions(self) -> pulumi.Output[Sequence[str]]:
394
+ """
395
+ List of audit results supported by message notification. Value: block: confirmed violation, review: Suspected violation, review: normal.
396
+ """
397
+ return pulumi.get(self, "callback_suggestions")
398
+
399
+ @property
400
+ @pulumi.getter(name="callbackTypes")
401
+ def callback_types(self) -> pulumi.Output[Sequence[str]]:
402
+ """
403
+ A list of Callback types. Value: machineScan: Machine audit result notification, selfAudit: self-service audit notification.
404
+ """
405
+ return pulumi.get(self, "callback_types")
406
+
407
+ @property
408
+ @pulumi.getter(name="cryptType")
409
+ def crypt_type(self) -> pulumi.Output[str]:
410
+ """
411
+ The encryption algorithm is used to verify that the callback request is sent by the content security service to your business service. The value is SHA256:SHA256 encryption algorithm and SM3: SM3 encryption algorithm.
412
+ """
413
+ return pulumi.get(self, "crypt_type")
414
+
415
+ @property
416
+ @pulumi.getter
417
+ def url(self) -> pulumi.Output[str]:
418
+ """
419
+ The detection result will be called back to the url.
420
+ """
421
+ return pulumi.get(self, "url")
422
+