pulumi-alicloud 3.76.0a1743571220__py3-none-any.whl → 3.77.0a1744262757__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.
- pulumi_alicloud/__init__.py +271 -4
- pulumi_alicloud/_inputs.py +20 -0
- pulumi_alicloud/actiontrail/global_events_storage_region.py +2 -2
- pulumi_alicloud/adb/db_cluster_lake_version.py +458 -49
- pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +2 -2
- pulumi_alicloud/alb/server_group.py +2 -2
- pulumi_alicloud/alikafka/sasl_acl.py +7 -7
- pulumi_alicloud/apigateway/_inputs.py +134 -0
- pulumi_alicloud/apigateway/group.py +117 -5
- pulumi_alicloud/apigateway/instance.py +148 -7
- pulumi_alicloud/apigateway/outputs.py +107 -0
- pulumi_alicloud/arms/alert_contact.py +2 -2
- pulumi_alicloud/arms/alert_contact_group.py +2 -2
- pulumi_alicloud/arms/get_prometheus.py +2 -6
- pulumi_alicloud/arms/grafana_workspace.py +511 -69
- pulumi_alicloud/arms/outputs.py +18 -18
- pulumi_alicloud/arms/prometheus_alert_rule.py +2 -2
- pulumi_alicloud/arms/prometheus_monitoring.py +2 -2
- pulumi_alicloud/cdn/domain_new.py +2 -2
- pulumi_alicloud/cen/_inputs.py +6 -3
- pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +131 -19
- pulumi_alicloud/cen/instance.py +101 -59
- pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +126 -81
- pulumi_alicloud/cen/inter_region_traffic_qos_queue.py +93 -47
- pulumi_alicloud/cen/outputs.py +69 -26
- pulumi_alicloud/cen/transit_route_table_aggregation.py +171 -55
- pulumi_alicloud/cen/transit_router.py +127 -53
- pulumi_alicloud/cen/transit_router_cidr.py +53 -35
- pulumi_alicloud/cen/transit_router_ecr_attachment.py +2 -2
- pulumi_alicloud/cen/transit_router_peer_attachment.py +360 -143
- pulumi_alicloud/cen/transit_router_route_table_association.py +33 -43
- pulumi_alicloud/cen/transit_router_vpn_attachment.py +438 -109
- pulumi_alicloud/clickhouse/db_cluster.py +179 -6
- pulumi_alicloud/clickhouseenterprisedbcluster/__init__.py +14 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/_inputs.py +167 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/account.py +554 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/backup_policy.py +407 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/click_house_enterprise_db_cluster.py +641 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/outputs.py +147 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/public_endpoint.py +364 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/security_ip.py +357 -0
- pulumi_alicloud/cloudsso/scim_server_credential.py +178 -11
- pulumi_alicloud/config/outputs.py +12 -0
- pulumi_alicloud/cs/__init__.py +1 -0
- pulumi_alicloud/cs/get_kubernetes_node_pools.py +147 -0
- pulumi_alicloud/cs/managed_kubernetes.py +127 -24
- pulumi_alicloud/cs/node_pool.py +42 -42
- pulumi_alicloud/cs/outputs.py +1782 -4
- pulumi_alicloud/databasefilesystem/service_linked_role.py +2 -2
- pulumi_alicloud/dataworks/data_source.py +2 -2
- pulumi_alicloud/dataworks/data_source_shared_rule.py +2 -2
- pulumi_alicloud/dataworks/di_alarm_rule.py +2 -2
- pulumi_alicloud/dataworks/di_job.py +2 -2
- pulumi_alicloud/dataworks/dw_resource_group.py +2 -2
- pulumi_alicloud/dataworks/network.py +2 -2
- pulumi_alicloud/dataworks/project.py +2 -2
- pulumi_alicloud/dataworks/project_member.py +2 -2
- pulumi_alicloud/dbs/backup_plan.py +2 -2
- pulumi_alicloud/ddos/bgp_policy.py +2 -2
- pulumi_alicloud/eais/__init__.py +2 -0
- pulumi_alicloud/eais/_inputs.py +75 -0
- pulumi_alicloud/eais/client_instance_attachment.py +408 -0
- pulumi_alicloud/eais/instance.py +365 -118
- pulumi_alicloud/eais/outputs.py +32 -0
- pulumi_alicloud/ebs/disk_replica_group.py +512 -30
- pulumi_alicloud/ebs/disk_replica_pair.py +443 -113
- pulumi_alicloud/ebs/enterprise_snapshot_policy.py +2 -2
- pulumi_alicloud/ebs/enterprise_snapshot_policy_attachment.py +2 -2
- pulumi_alicloud/ecp/instance.py +2 -2
- pulumi_alicloud/ecp/key_pair.py +4 -4
- pulumi_alicloud/ecs/_inputs.py +33 -0
- pulumi_alicloud/ecs/disk.py +1 -1
- pulumi_alicloud/ecs/ecs_disk.py +1 -1
- pulumi_alicloud/ecs/ecs_launch_template.py +23 -23
- pulumi_alicloud/ecs/instance.py +1 -1
- pulumi_alicloud/ecs/outputs.py +26 -2
- pulumi_alicloud/eflo/__init__.py +5 -0
- pulumi_alicloud/eflo/_inputs.py +1717 -0
- pulumi_alicloud/eflo/cluster.py +935 -0
- pulumi_alicloud/eflo/invocation.py +1114 -0
- pulumi_alicloud/eflo/node.py +1013 -0
- pulumi_alicloud/eflo/node_group.py +1101 -0
- pulumi_alicloud/eflo/outputs.py +1366 -0
- pulumi_alicloud/ens/eip_instance_attachment.py +2 -2
- pulumi_alicloud/ens/image.py +81 -34
- pulumi_alicloud/esa/__init__.py +4 -0
- pulumi_alicloud/esa/_inputs.py +640 -18
- pulumi_alicloud/esa/cache_reserve_instance.py +522 -0
- pulumi_alicloud/esa/cache_rule.py +193 -179
- pulumi_alicloud/esa/certificate.py +99 -92
- pulumi_alicloud/esa/compression_rule.py +42 -28
- pulumi_alicloud/esa/edge_container_app.py +972 -0
- pulumi_alicloud/esa/edge_container_app_record.py +376 -0
- pulumi_alicloud/esa/http_request_header_modification_rule.py +56 -42
- pulumi_alicloud/esa/http_response_header_modification_rule.py +35 -56
- pulumi_alicloud/esa/https_application_configuration.py +42 -28
- pulumi_alicloud/esa/https_basic_configuration.py +56 -42
- pulumi_alicloud/esa/image_transform.py +42 -28
- pulumi_alicloud/esa/kv_namespace.py +11 -11
- pulumi_alicloud/esa/list.py +28 -28
- pulumi_alicloud/esa/network_optimization.py +56 -126
- pulumi_alicloud/esa/origin_pool.py +19 -19
- pulumi_alicloud/esa/origin_rule.py +67 -39
- pulumi_alicloud/esa/outputs.py +536 -12
- pulumi_alicloud/esa/page.py +28 -49
- pulumi_alicloud/esa/rate_plan_instance.py +86 -159
- pulumi_alicloud/esa/redirect_rule.py +42 -28
- pulumi_alicloud/esa/rewrite_url_rule.py +49 -63
- pulumi_alicloud/esa/site.py +67 -123
- pulumi_alicloud/esa/site_delivery_task.py +841 -0
- pulumi_alicloud/esa/waiting_room.py +269 -319
- pulumi_alicloud/esa/waiting_room_event.py +291 -305
- pulumi_alicloud/esa/waiting_room_rule.py +46 -53
- pulumi_alicloud/ess/_inputs.py +155 -0
- pulumi_alicloud/ess/outputs.py +128 -0
- pulumi_alicloud/ess/scaling_group.py +237 -2
- pulumi_alicloud/ess/scaling_rule.py +143 -2
- pulumi_alicloud/expressconnect/router_grant_association.py +2 -2
- pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
- pulumi_alicloud/gpdb/hadoop_data_source.py +2 -2
- pulumi_alicloud/gpdb/jdbc_data_source.py +2 -2
- pulumi_alicloud/gpdb/remote_adb_data_source.py +6 -6
- pulumi_alicloud/gpdb/streaming_data_source.py +2 -2
- pulumi_alicloud/gpdb/streaming_job.py +2 -2
- pulumi_alicloud/ims/oidc_provider.py +24 -13
- pulumi_alicloud/kvstore/account.py +9 -9
- pulumi_alicloud/kvstore/connection.py +2 -2
- pulumi_alicloud/kvstore/get_instance_classes.py +2 -2
- pulumi_alicloud/kvstore/get_instance_engines.py +2 -2
- pulumi_alicloud/kvstore/instance.py +7 -7
- pulumi_alicloud/kvstore/outputs.py +2 -2
- pulumi_alicloud/live/caster.py +2 -2
- pulumi_alicloud/maxcompute/__init__.py +1 -0
- pulumi_alicloud/maxcompute/_inputs.py +232 -3
- pulumi_alicloud/maxcompute/outputs.py +183 -2
- pulumi_alicloud/maxcompute/project.py +2 -2
- pulumi_alicloud/maxcompute/quota.py +438 -0
- pulumi_alicloud/nas/mount_target.py +149 -54
- pulumi_alicloud/nlb/__init__.py +1 -0
- pulumi_alicloud/nlb/_inputs.py +43 -6
- pulumi_alicloud/nlb/load_balancer.py +212 -24
- pulumi_alicloud/nlb/load_balancer_zone_shifted_attachment.py +397 -0
- pulumi_alicloud/nlb/outputs.py +30 -4
- pulumi_alicloud/nlb/server_group_server_attachment.py +118 -65
- pulumi_alicloud/oss/__init__.py +1 -0
- pulumi_alicloud/oss/_inputs.py +20 -0
- pulumi_alicloud/oss/access_point.py +2 -2
- pulumi_alicloud/oss/bucket_cname.py +2 -2
- pulumi_alicloud/oss/bucket_cors.py +2 -2
- pulumi_alicloud/oss/bucket_style.py +402 -0
- pulumi_alicloud/oss/bucket_website.py +2 -2
- pulumi_alicloud/oss/outputs.py +14 -0
- pulumi_alicloud/pai/service.py +59 -67
- pulumi_alicloud/polardb/cluster.py +75 -28
- pulumi_alicloud/privatelink/vpc_endpoint_zone.py +1 -1
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/__init__.py +3 -0
- pulumi_alicloud/ram/_inputs.py +9 -9
- pulumi_alicloud/ram/access_key.py +77 -31
- pulumi_alicloud/ram/account_alias.py +18 -45
- pulumi_alicloud/ram/get_system_policys.py +189 -0
- pulumi_alicloud/ram/group.py +156 -35
- pulumi_alicloud/ram/group_policy_attachment.py +51 -29
- pulumi_alicloud/ram/login_profile.py +92 -38
- pulumi_alicloud/ram/outputs.py +91 -6
- pulumi_alicloud/ram/password_policy.py +779 -0
- pulumi_alicloud/ram/policy.py +199 -88
- pulumi_alicloud/ram/role_policy_attachment.py +51 -29
- pulumi_alicloud/ram/saml_provider.py +44 -37
- pulumi_alicloud/ram/user_group_attachment.py +273 -0
- pulumi_alicloud/ram/user_policy_attachment.py +49 -27
- pulumi_alicloud/rds/__init__.py +1 -0
- pulumi_alicloud/rds/custom_disk.py +1053 -0
- pulumi_alicloud/rds/instance.py +110 -14
- pulumi_alicloud/redis/tair_instance.py +14 -14
- pulumi_alicloud/resourcemanager/__init__.py +1 -0
- pulumi_alicloud/resourcemanager/_inputs.py +53 -0
- pulumi_alicloud/resourcemanager/auto_grouping_rule.py +796 -0
- pulumi_alicloud/resourcemanager/outputs.py +50 -0
- pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
- pulumi_alicloud/rocketmq/__init__.py +1 -1
- pulumi_alicloud/rocketmq/_inputs.py +146 -4
- pulumi_alicloud/rocketmq/account.py +452 -0
- pulumi_alicloud/rocketmq/acl.py +473 -47
- pulumi_alicloud/rocketmq/client_user.py +8 -2
- pulumi_alicloud/rocketmq/consumer_group.py +121 -24
- pulumi_alicloud/rocketmq/dnat_entry.py +8 -2
- pulumi_alicloud/rocketmq/outputs.py +113 -4
- pulumi_alicloud/rocketmq/qos.py +8 -2
- pulumi_alicloud/rocketmq/qos_car.py +10 -4
- pulumi_alicloud/rocketmq/qos_policy.py +6 -0
- pulumi_alicloud/rocketmq/rocket_mq_instance.py +136 -7
- pulumi_alicloud/rocketmq/rocket_mq_topic.py +121 -24
- pulumi_alicloud/rocketmq/snat_entry.py +8 -2
- pulumi_alicloud/sag/__init__.py +8 -0
- pulumi_alicloud/sag/acl.py +200 -0
- pulumi_alicloud/{rocketmq → sag}/acl_rule.py +7 -7
- pulumi_alicloud/sag/client_user.py +560 -0
- pulumi_alicloud/sag/dnat_entry.py +512 -0
- pulumi_alicloud/sag/get_acls.py +2 -2
- pulumi_alicloud/sag/qos.py +202 -0
- pulumi_alicloud/sag/qos_car.py +654 -0
- pulumi_alicloud/sag/qos_policy.py +659 -0
- pulumi_alicloud/sag/snat_entry.py +313 -0
- pulumi_alicloud/securitycenter/group.py +2 -2
- pulumi_alicloud/selectdb/db_instance.py +60 -11
- pulumi_alicloud/slb/server_group_server_attachment.py +101 -111
- pulumi_alicloud/sls/oss_export_sink.py +2 -2
- pulumi_alicloud/threatdetection/__init__.py +3 -0
- pulumi_alicloud/threatdetection/anti_brute_force_rule.py +41 -65
- pulumi_alicloud/threatdetection/asset_bind.py +209 -0
- pulumi_alicloud/threatdetection/asset_selection_config.py +258 -0
- pulumi_alicloud/threatdetection/instance.py +271 -54
- pulumi_alicloud/threatdetection/log_meta.py +351 -0
- pulumi_alicloud/vpc/__init__.py +1 -0
- pulumi_alicloud/vpc/_inputs.py +281 -0
- pulumi_alicloud/vpc/gateway_endpoint.py +85 -27
- pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipam_pools.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipams.py +2 -2
- pulumi_alicloud/vpc/ipv6_address.py +85 -5
- pulumi_alicloud/vpc/outputs.py +232 -0
- pulumi_alicloud/vpc/peer_connection.py +84 -42
- pulumi_alicloud/vpc/peer_connection_accepter.py +7 -21
- pulumi_alicloud/vpc/route_table.py +100 -45
- pulumi_alicloud/vpc/vpc_route_entry.py +724 -0
- pulumi_alicloud/vpn/_inputs.py +716 -71
- pulumi_alicloud/vpn/gateway_vpn_attachment.py +622 -128
- pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +20 -63
- pulumi_alicloud/vpn/ipsec_server.py +2 -2
- pulumi_alicloud/vpn/outputs.py +1963 -998
- {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.77.0a1744262757.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.77.0a1744262757.dist-info}/RECORD +237 -197
- {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.77.0a1744262757.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.77.0a1744262757.dist-info}/top_level.txt +0 -0
|
@@ -28,6 +28,8 @@ __all__ = [
|
|
|
28
28
|
'QuotaPlanQuotaSubQuotaInfoListParameter',
|
|
29
29
|
'QuotaScheduleScheduleList',
|
|
30
30
|
'QuotaScheduleScheduleListCondition',
|
|
31
|
+
'QuotaSubQuotaInfoList',
|
|
32
|
+
'QuotaSubQuotaInfoListParameter',
|
|
31
33
|
'TunnelQuotaTimerQuotaTimer',
|
|
32
34
|
'TunnelQuotaTimerQuotaTimerTunnelQuotaParameter',
|
|
33
35
|
'GetProjectsProjectResult',
|
|
@@ -149,7 +151,7 @@ class ProjectProperties(dict):
|
|
|
149
151
|
The effective policy after adjusting the backup cycle is:
|
|
150
152
|
Extend the backup cycle: The new backup cycle takes effect on the same day.
|
|
151
153
|
Shorten the backup cycle: The system will automatically delete backup data that has exceeded the retention cycle.
|
|
152
|
-
:param str sql_metering_max: Set the maximum threshold for single SQL Consumption, that is, set the ODPS. SQL. metering.value.max attribute. For more information, see [Consumption control](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-
|
|
154
|
+
:param str sql_metering_max: Set the maximum threshold for single SQL Consumption, that is, set the ODPS. SQL. metering.value.max attribute. For more information, see [Consumption control](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-control).
|
|
153
155
|
Unit: scan volume (GB)* complexity.
|
|
154
156
|
:param 'ProjectPropertiesTableLifecycleArgs' table_lifecycle: Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property, See `table_lifecycle` below.
|
|
155
157
|
:param str timezone: Project time zone, example value: Asia/Shanghai
|
|
@@ -220,7 +222,7 @@ class ProjectProperties(dict):
|
|
|
220
222
|
@pulumi.getter(name="sqlMeteringMax")
|
|
221
223
|
def sql_metering_max(self) -> Optional[str]:
|
|
222
224
|
"""
|
|
223
|
-
Set the maximum threshold for single SQL Consumption, that is, set the ODPS. SQL. metering.value.max attribute. For more information, see [Consumption control](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-
|
|
225
|
+
Set the maximum threshold for single SQL Consumption, that is, set the ODPS. SQL. metering.value.max attribute. For more information, see [Consumption control](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-control).
|
|
224
226
|
Unit: scan volume (GB)* complexity.
|
|
225
227
|
"""
|
|
226
228
|
return pulumi.get(self, "sql_metering_max")
|
|
@@ -799,6 +801,185 @@ class QuotaScheduleScheduleListCondition(dict):
|
|
|
799
801
|
return pulumi.get(self, "at")
|
|
800
802
|
|
|
801
803
|
|
|
804
|
+
@pulumi.output_type
|
|
805
|
+
class QuotaSubQuotaInfoList(dict):
|
|
806
|
+
@staticmethod
|
|
807
|
+
def __key_warning(key: str):
|
|
808
|
+
suggest = None
|
|
809
|
+
if key == "nickName":
|
|
810
|
+
suggest = "nick_name"
|
|
811
|
+
|
|
812
|
+
if suggest:
|
|
813
|
+
pulumi.log.warn(f"Key '{key}' not found in QuotaSubQuotaInfoList. Access the value via the '{suggest}' property getter instead.")
|
|
814
|
+
|
|
815
|
+
def __getitem__(self, key: str) -> Any:
|
|
816
|
+
QuotaSubQuotaInfoList.__key_warning(key)
|
|
817
|
+
return super().__getitem__(key)
|
|
818
|
+
|
|
819
|
+
def get(self, key: str, default = None) -> Any:
|
|
820
|
+
QuotaSubQuotaInfoList.__key_warning(key)
|
|
821
|
+
return super().get(key, default)
|
|
822
|
+
|
|
823
|
+
def __init__(__self__, *,
|
|
824
|
+
nick_name: str,
|
|
825
|
+
parameter: Optional['outputs.QuotaSubQuotaInfoListParameter'] = None,
|
|
826
|
+
type: Optional[str] = None):
|
|
827
|
+
"""
|
|
828
|
+
:param str nick_name: Secondary Quota nickname.
|
|
829
|
+
|
|
830
|
+
> **NOTE:** -- Subscription: If you enter partNickName, the first-level QuotaNickName created is os_partNickName_p. Each first-level Quota has a default second-level Quota whose QuotaNickName is os_partNickName . -- The first-level quotanicname created by PayAsYouGo is os_PayAsYouGoQuota_p by default, the second-level quotanicname is os_PayAsYouGoQuota
|
|
831
|
+
:param 'QuotaSubQuotaInfoListParameterArgs' parameter: Parameter See `parameter` below.
|
|
832
|
+
:param str type: The secondary Quota type. The default value is: FUXI_OFFLINE
|
|
833
|
+
"""
|
|
834
|
+
pulumi.set(__self__, "nick_name", nick_name)
|
|
835
|
+
if parameter is not None:
|
|
836
|
+
pulumi.set(__self__, "parameter", parameter)
|
|
837
|
+
if type is not None:
|
|
838
|
+
pulumi.set(__self__, "type", type)
|
|
839
|
+
|
|
840
|
+
@property
|
|
841
|
+
@pulumi.getter(name="nickName")
|
|
842
|
+
def nick_name(self) -> str:
|
|
843
|
+
"""
|
|
844
|
+
Secondary Quota nickname.
|
|
845
|
+
|
|
846
|
+
> **NOTE:** -- Subscription: If you enter partNickName, the first-level QuotaNickName created is os_partNickName_p. Each first-level Quota has a default second-level Quota whose QuotaNickName is os_partNickName . -- The first-level quotanicname created by PayAsYouGo is os_PayAsYouGoQuota_p by default, the second-level quotanicname is os_PayAsYouGoQuota
|
|
847
|
+
"""
|
|
848
|
+
return pulumi.get(self, "nick_name")
|
|
849
|
+
|
|
850
|
+
@property
|
|
851
|
+
@pulumi.getter
|
|
852
|
+
def parameter(self) -> Optional['outputs.QuotaSubQuotaInfoListParameter']:
|
|
853
|
+
"""
|
|
854
|
+
Parameter See `parameter` below.
|
|
855
|
+
"""
|
|
856
|
+
return pulumi.get(self, "parameter")
|
|
857
|
+
|
|
858
|
+
@property
|
|
859
|
+
@pulumi.getter
|
|
860
|
+
def type(self) -> Optional[str]:
|
|
861
|
+
"""
|
|
862
|
+
The secondary Quota type. The default value is: FUXI_OFFLINE
|
|
863
|
+
"""
|
|
864
|
+
return pulumi.get(self, "type")
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
@pulumi.output_type
|
|
868
|
+
class QuotaSubQuotaInfoListParameter(dict):
|
|
869
|
+
@staticmethod
|
|
870
|
+
def __key_warning(key: str):
|
|
871
|
+
suggest = None
|
|
872
|
+
if key == "maxCu":
|
|
873
|
+
suggest = "max_cu"
|
|
874
|
+
elif key == "minCu":
|
|
875
|
+
suggest = "min_cu"
|
|
876
|
+
elif key == "enablePriority":
|
|
877
|
+
suggest = "enable_priority"
|
|
878
|
+
elif key == "forceReservedMin":
|
|
879
|
+
suggest = "force_reserved_min"
|
|
880
|
+
elif key == "schedulerType":
|
|
881
|
+
suggest = "scheduler_type"
|
|
882
|
+
elif key == "singleJobCuLimit":
|
|
883
|
+
suggest = "single_job_cu_limit"
|
|
884
|
+
|
|
885
|
+
if suggest:
|
|
886
|
+
pulumi.log.warn(f"Key '{key}' not found in QuotaSubQuotaInfoListParameter. Access the value via the '{suggest}' property getter instead.")
|
|
887
|
+
|
|
888
|
+
def __getitem__(self, key: str) -> Any:
|
|
889
|
+
QuotaSubQuotaInfoListParameter.__key_warning(key)
|
|
890
|
+
return super().__getitem__(key)
|
|
891
|
+
|
|
892
|
+
def get(self, key: str, default = None) -> Any:
|
|
893
|
+
QuotaSubQuotaInfoListParameter.__key_warning(key)
|
|
894
|
+
return super().get(key, default)
|
|
895
|
+
|
|
896
|
+
def __init__(__self__, *,
|
|
897
|
+
max_cu: int,
|
|
898
|
+
min_cu: int,
|
|
899
|
+
enable_priority: Optional[bool] = None,
|
|
900
|
+
force_reserved_min: Optional[bool] = None,
|
|
901
|
+
scheduler_type: Optional[str] = None,
|
|
902
|
+
single_job_cu_limit: Optional[int] = None):
|
|
903
|
+
"""
|
|
904
|
+
:param int max_cu: The value of maxCU in Reserved CUs.
|
|
905
|
+
|
|
906
|
+
> **NOTE:** The value of maxCU must be less than or equal to the value of maxCU in the level-1 quota that you purchased.
|
|
907
|
+
:param int min_cu: The value of minCU in Reserved CUs.
|
|
908
|
+
|
|
909
|
+
> **NOTE:** -- The total value of minCU in all the level-2 quotas is equal to the value of minCU in the level-1 quota. -- The value of minCU must be less than or equal to the value of maxCU in the level-2 quota and less than or equal to the value of minCU in the level-1 quota that you purchased.
|
|
910
|
+
:param bool enable_priority: Enable priority. Valid values: true/false, default: false
|
|
911
|
+
:param bool force_reserved_min: Exclusive or not. Valid values: true/false, default: false
|
|
912
|
+
:param str scheduler_type: Scheduling policy. Valid values: Fifo/Fair, default: Fifo
|
|
913
|
+
:param int single_job_cu_limit: Single job CU upper limit. Valid value: greater than or equal to 1
|
|
914
|
+
|
|
915
|
+
> **NOTE:** -- If you want to not restrict SingleJobCuLimit, please make sure that this parameter is not included in the configuration at all. That is, do not configure SingleJobCuLimit to "null" or any other invalid value
|
|
916
|
+
"""
|
|
917
|
+
pulumi.set(__self__, "max_cu", max_cu)
|
|
918
|
+
pulumi.set(__self__, "min_cu", min_cu)
|
|
919
|
+
if enable_priority is not None:
|
|
920
|
+
pulumi.set(__self__, "enable_priority", enable_priority)
|
|
921
|
+
if force_reserved_min is not None:
|
|
922
|
+
pulumi.set(__self__, "force_reserved_min", force_reserved_min)
|
|
923
|
+
if scheduler_type is not None:
|
|
924
|
+
pulumi.set(__self__, "scheduler_type", scheduler_type)
|
|
925
|
+
if single_job_cu_limit is not None:
|
|
926
|
+
pulumi.set(__self__, "single_job_cu_limit", single_job_cu_limit)
|
|
927
|
+
|
|
928
|
+
@property
|
|
929
|
+
@pulumi.getter(name="maxCu")
|
|
930
|
+
def max_cu(self) -> int:
|
|
931
|
+
"""
|
|
932
|
+
The value of maxCU in Reserved CUs.
|
|
933
|
+
|
|
934
|
+
> **NOTE:** The value of maxCU must be less than or equal to the value of maxCU in the level-1 quota that you purchased.
|
|
935
|
+
"""
|
|
936
|
+
return pulumi.get(self, "max_cu")
|
|
937
|
+
|
|
938
|
+
@property
|
|
939
|
+
@pulumi.getter(name="minCu")
|
|
940
|
+
def min_cu(self) -> int:
|
|
941
|
+
"""
|
|
942
|
+
The value of minCU in Reserved CUs.
|
|
943
|
+
|
|
944
|
+
> **NOTE:** -- The total value of minCU in all the level-2 quotas is equal to the value of minCU in the level-1 quota. -- The value of minCU must be less than or equal to the value of maxCU in the level-2 quota and less than or equal to the value of minCU in the level-1 quota that you purchased.
|
|
945
|
+
"""
|
|
946
|
+
return pulumi.get(self, "min_cu")
|
|
947
|
+
|
|
948
|
+
@property
|
|
949
|
+
@pulumi.getter(name="enablePriority")
|
|
950
|
+
def enable_priority(self) -> Optional[bool]:
|
|
951
|
+
"""
|
|
952
|
+
Enable priority. Valid values: true/false, default: false
|
|
953
|
+
"""
|
|
954
|
+
return pulumi.get(self, "enable_priority")
|
|
955
|
+
|
|
956
|
+
@property
|
|
957
|
+
@pulumi.getter(name="forceReservedMin")
|
|
958
|
+
def force_reserved_min(self) -> Optional[bool]:
|
|
959
|
+
"""
|
|
960
|
+
Exclusive or not. Valid values: true/false, default: false
|
|
961
|
+
"""
|
|
962
|
+
return pulumi.get(self, "force_reserved_min")
|
|
963
|
+
|
|
964
|
+
@property
|
|
965
|
+
@pulumi.getter(name="schedulerType")
|
|
966
|
+
def scheduler_type(self) -> Optional[str]:
|
|
967
|
+
"""
|
|
968
|
+
Scheduling policy. Valid values: Fifo/Fair, default: Fifo
|
|
969
|
+
"""
|
|
970
|
+
return pulumi.get(self, "scheduler_type")
|
|
971
|
+
|
|
972
|
+
@property
|
|
973
|
+
@pulumi.getter(name="singleJobCuLimit")
|
|
974
|
+
def single_job_cu_limit(self) -> Optional[int]:
|
|
975
|
+
"""
|
|
976
|
+
Single job CU upper limit. Valid value: greater than or equal to 1
|
|
977
|
+
|
|
978
|
+
> **NOTE:** -- If you want to not restrict SingleJobCuLimit, please make sure that this parameter is not included in the configuration at all. That is, do not configure SingleJobCuLimit to "null" or any other invalid value
|
|
979
|
+
"""
|
|
980
|
+
return pulumi.get(self, "single_job_cu_limit")
|
|
981
|
+
|
|
982
|
+
|
|
802
983
|
@pulumi.output_type
|
|
803
984
|
class TunnelQuotaTimerQuotaTimer(dict):
|
|
804
985
|
@staticmethod
|
|
@@ -443,7 +443,7 @@ class Project(pulumi.CustomResource):
|
|
|
443
443
|
|
|
444
444
|
MaxCompute project .
|
|
445
445
|
|
|
446
|
-
For information about Max Compute Project and how to use it, see [What is Project](https://www.alibabacloud.com/help/en/maxcompute/).
|
|
446
|
+
For information about Max Compute Project and how to use it, see [What is Project](https://www.alibabacloud.com/help/en/maxcompute/user-guide/api-maxcompute-2022-01-04-createproject).
|
|
447
447
|
|
|
448
448
|
> **NOTE:** Available since v1.77.0.
|
|
449
449
|
|
|
@@ -500,7 +500,7 @@ class Project(pulumi.CustomResource):
|
|
|
500
500
|
|
|
501
501
|
MaxCompute project .
|
|
502
502
|
|
|
503
|
-
For information about Max Compute Project and how to use it, see [What is Project](https://www.alibabacloud.com/help/en/maxcompute/).
|
|
503
|
+
For information about Max Compute Project and how to use it, see [What is Project](https://www.alibabacloud.com/help/en/maxcompute/user-guide/api-maxcompute-2022-01-04-createproject).
|
|
504
504
|
|
|
505
505
|
> **NOTE:** Available since v1.77.0.
|
|
506
506
|
|
|
@@ -0,0 +1,438 @@
|
|
|
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 sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from .. import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = ['QuotaArgs', 'Quota']
|
|
20
|
+
|
|
21
|
+
@pulumi.input_type
|
|
22
|
+
class QuotaArgs:
|
|
23
|
+
def __init__(__self__, *,
|
|
24
|
+
commodity_code: pulumi.Input[str],
|
|
25
|
+
payment_type: pulumi.Input[str],
|
|
26
|
+
commodity_data: Optional[pulumi.Input[str]] = None,
|
|
27
|
+
part_nick_name: Optional[pulumi.Input[str]] = None,
|
|
28
|
+
sub_quota_info_lists: Optional[pulumi.Input[Sequence[pulumi.Input['QuotaSubQuotaInfoListArgs']]]] = None):
|
|
29
|
+
"""
|
|
30
|
+
The set of arguments for constructing a Quota resource.
|
|
31
|
+
:param pulumi.Input[str] commodity_code: Valid values: odps_intl/odpsplus_intl/odps/odpsplus
|
|
32
|
+
- *NOTE:** --odps_intl: International Station standard post-payment -- odpsplus_intl: International Station standard pre-payment -- odps: China Station standard post-payment -- odpsplus: China Station standard pre-payment
|
|
33
|
+
:param pulumi.Input[str] payment_type: Payment type. Valid values: Subscription/PayAsYouGo
|
|
34
|
+
|
|
35
|
+
> **NOTE:** -- PayAsYouGo only needs to be opened once per region
|
|
36
|
+
:param pulumi.Input[str] commodity_data: Define quota rules when creating quotas, for example:{"CU":50,"ord_time":"1:Month","autoRenew":false}.
|
|
37
|
+
CU (minimum quota resource size is 50)
|
|
38
|
+
ord_time 1:Month/Year (1 means quantity: Month/Year is the unit)
|
|
39
|
+
autoRenew (whether to enable automatic renewal)
|
|
40
|
+
If PaymentType is PayAsYouGo, you do not need to fill in
|
|
41
|
+
:param pulumi.Input[str] part_nick_name: Quota partial nickname, supports English letters and numbers, up to 24 characters
|
|
42
|
+
|
|
43
|
+
> **NOTE:** If PaymentType is PayAsYouGo, you do not need to fill it in
|
|
44
|
+
:param pulumi.Input[Sequence[pulumi.Input['QuotaSubQuotaInfoListArgs']]] sub_quota_info_lists: Secondary Quota list
|
|
45
|
+
|
|
46
|
+
> **NOTE:** -- Add: If the configuration contains a second-level Quota that does not exist, a second-level Quota is added. -- Delete: If the configuration does not contain the existing secondary Quota, it will be deleted. -- Modify: If the configuration is inconsistent with the existing secondary Quota configuration parameters, the secondary Quota configuration will be updated. -- The default secondary Quota must be configured and cannot be deleted.
|
|
47
|
+
See `sub_quota_info_list` below.
|
|
48
|
+
"""
|
|
49
|
+
pulumi.set(__self__, "commodity_code", commodity_code)
|
|
50
|
+
pulumi.set(__self__, "payment_type", payment_type)
|
|
51
|
+
if commodity_data is not None:
|
|
52
|
+
pulumi.set(__self__, "commodity_data", commodity_data)
|
|
53
|
+
if part_nick_name is not None:
|
|
54
|
+
pulumi.set(__self__, "part_nick_name", part_nick_name)
|
|
55
|
+
if sub_quota_info_lists is not None:
|
|
56
|
+
pulumi.set(__self__, "sub_quota_info_lists", sub_quota_info_lists)
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
@pulumi.getter(name="commodityCode")
|
|
60
|
+
def commodity_code(self) -> pulumi.Input[str]:
|
|
61
|
+
"""
|
|
62
|
+
Valid values: odps_intl/odpsplus_intl/odps/odpsplus
|
|
63
|
+
- *NOTE:** --odps_intl: International Station standard post-payment -- odpsplus_intl: International Station standard pre-payment -- odps: China Station standard post-payment -- odpsplus: China Station standard pre-payment
|
|
64
|
+
"""
|
|
65
|
+
return pulumi.get(self, "commodity_code")
|
|
66
|
+
|
|
67
|
+
@commodity_code.setter
|
|
68
|
+
def commodity_code(self, value: pulumi.Input[str]):
|
|
69
|
+
pulumi.set(self, "commodity_code", value)
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
@pulumi.getter(name="paymentType")
|
|
73
|
+
def payment_type(self) -> pulumi.Input[str]:
|
|
74
|
+
"""
|
|
75
|
+
Payment type. Valid values: Subscription/PayAsYouGo
|
|
76
|
+
|
|
77
|
+
> **NOTE:** -- PayAsYouGo only needs to be opened once per region
|
|
78
|
+
"""
|
|
79
|
+
return pulumi.get(self, "payment_type")
|
|
80
|
+
|
|
81
|
+
@payment_type.setter
|
|
82
|
+
def payment_type(self, value: pulumi.Input[str]):
|
|
83
|
+
pulumi.set(self, "payment_type", value)
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
@pulumi.getter(name="commodityData")
|
|
87
|
+
def commodity_data(self) -> Optional[pulumi.Input[str]]:
|
|
88
|
+
"""
|
|
89
|
+
Define quota rules when creating quotas, for example:{"CU":50,"ord_time":"1:Month","autoRenew":false}.
|
|
90
|
+
CU (minimum quota resource size is 50)
|
|
91
|
+
ord_time 1:Month/Year (1 means quantity: Month/Year is the unit)
|
|
92
|
+
autoRenew (whether to enable automatic renewal)
|
|
93
|
+
If PaymentType is PayAsYouGo, you do not need to fill in
|
|
94
|
+
"""
|
|
95
|
+
return pulumi.get(self, "commodity_data")
|
|
96
|
+
|
|
97
|
+
@commodity_data.setter
|
|
98
|
+
def commodity_data(self, value: Optional[pulumi.Input[str]]):
|
|
99
|
+
pulumi.set(self, "commodity_data", value)
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
@pulumi.getter(name="partNickName")
|
|
103
|
+
def part_nick_name(self) -> Optional[pulumi.Input[str]]:
|
|
104
|
+
"""
|
|
105
|
+
Quota partial nickname, supports English letters and numbers, up to 24 characters
|
|
106
|
+
|
|
107
|
+
> **NOTE:** If PaymentType is PayAsYouGo, you do not need to fill it in
|
|
108
|
+
"""
|
|
109
|
+
return pulumi.get(self, "part_nick_name")
|
|
110
|
+
|
|
111
|
+
@part_nick_name.setter
|
|
112
|
+
def part_nick_name(self, value: Optional[pulumi.Input[str]]):
|
|
113
|
+
pulumi.set(self, "part_nick_name", value)
|
|
114
|
+
|
|
115
|
+
@property
|
|
116
|
+
@pulumi.getter(name="subQuotaInfoLists")
|
|
117
|
+
def sub_quota_info_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['QuotaSubQuotaInfoListArgs']]]]:
|
|
118
|
+
"""
|
|
119
|
+
Secondary Quota list
|
|
120
|
+
|
|
121
|
+
> **NOTE:** -- Add: If the configuration contains a second-level Quota that does not exist, a second-level Quota is added. -- Delete: If the configuration does not contain the existing secondary Quota, it will be deleted. -- Modify: If the configuration is inconsistent with the existing secondary Quota configuration parameters, the secondary Quota configuration will be updated. -- The default secondary Quota must be configured and cannot be deleted.
|
|
122
|
+
See `sub_quota_info_list` below.
|
|
123
|
+
"""
|
|
124
|
+
return pulumi.get(self, "sub_quota_info_lists")
|
|
125
|
+
|
|
126
|
+
@sub_quota_info_lists.setter
|
|
127
|
+
def sub_quota_info_lists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['QuotaSubQuotaInfoListArgs']]]]):
|
|
128
|
+
pulumi.set(self, "sub_quota_info_lists", value)
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
@pulumi.input_type
|
|
132
|
+
class _QuotaState:
|
|
133
|
+
def __init__(__self__, *,
|
|
134
|
+
commodity_code: Optional[pulumi.Input[str]] = None,
|
|
135
|
+
commodity_data: Optional[pulumi.Input[str]] = None,
|
|
136
|
+
part_nick_name: Optional[pulumi.Input[str]] = None,
|
|
137
|
+
payment_type: Optional[pulumi.Input[str]] = None,
|
|
138
|
+
sub_quota_info_lists: Optional[pulumi.Input[Sequence[pulumi.Input['QuotaSubQuotaInfoListArgs']]]] = None):
|
|
139
|
+
"""
|
|
140
|
+
Input properties used for looking up and filtering Quota resources.
|
|
141
|
+
:param pulumi.Input[str] commodity_code: Valid values: odps_intl/odpsplus_intl/odps/odpsplus
|
|
142
|
+
- *NOTE:** --odps_intl: International Station standard post-payment -- odpsplus_intl: International Station standard pre-payment -- odps: China Station standard post-payment -- odpsplus: China Station standard pre-payment
|
|
143
|
+
:param pulumi.Input[str] commodity_data: Define quota rules when creating quotas, for example:{"CU":50,"ord_time":"1:Month","autoRenew":false}.
|
|
144
|
+
CU (minimum quota resource size is 50)
|
|
145
|
+
ord_time 1:Month/Year (1 means quantity: Month/Year is the unit)
|
|
146
|
+
autoRenew (whether to enable automatic renewal)
|
|
147
|
+
If PaymentType is PayAsYouGo, you do not need to fill in
|
|
148
|
+
:param pulumi.Input[str] part_nick_name: Quota partial nickname, supports English letters and numbers, up to 24 characters
|
|
149
|
+
|
|
150
|
+
> **NOTE:** If PaymentType is PayAsYouGo, you do not need to fill it in
|
|
151
|
+
:param pulumi.Input[str] payment_type: Payment type. Valid values: Subscription/PayAsYouGo
|
|
152
|
+
|
|
153
|
+
> **NOTE:** -- PayAsYouGo only needs to be opened once per region
|
|
154
|
+
:param pulumi.Input[Sequence[pulumi.Input['QuotaSubQuotaInfoListArgs']]] sub_quota_info_lists: Secondary Quota list
|
|
155
|
+
|
|
156
|
+
> **NOTE:** -- Add: If the configuration contains a second-level Quota that does not exist, a second-level Quota is added. -- Delete: If the configuration does not contain the existing secondary Quota, it will be deleted. -- Modify: If the configuration is inconsistent with the existing secondary Quota configuration parameters, the secondary Quota configuration will be updated. -- The default secondary Quota must be configured and cannot be deleted.
|
|
157
|
+
See `sub_quota_info_list` below.
|
|
158
|
+
"""
|
|
159
|
+
if commodity_code is not None:
|
|
160
|
+
pulumi.set(__self__, "commodity_code", commodity_code)
|
|
161
|
+
if commodity_data is not None:
|
|
162
|
+
pulumi.set(__self__, "commodity_data", commodity_data)
|
|
163
|
+
if part_nick_name is not None:
|
|
164
|
+
pulumi.set(__self__, "part_nick_name", part_nick_name)
|
|
165
|
+
if payment_type is not None:
|
|
166
|
+
pulumi.set(__self__, "payment_type", payment_type)
|
|
167
|
+
if sub_quota_info_lists is not None:
|
|
168
|
+
pulumi.set(__self__, "sub_quota_info_lists", sub_quota_info_lists)
|
|
169
|
+
|
|
170
|
+
@property
|
|
171
|
+
@pulumi.getter(name="commodityCode")
|
|
172
|
+
def commodity_code(self) -> Optional[pulumi.Input[str]]:
|
|
173
|
+
"""
|
|
174
|
+
Valid values: odps_intl/odpsplus_intl/odps/odpsplus
|
|
175
|
+
- *NOTE:** --odps_intl: International Station standard post-payment -- odpsplus_intl: International Station standard pre-payment -- odps: China Station standard post-payment -- odpsplus: China Station standard pre-payment
|
|
176
|
+
"""
|
|
177
|
+
return pulumi.get(self, "commodity_code")
|
|
178
|
+
|
|
179
|
+
@commodity_code.setter
|
|
180
|
+
def commodity_code(self, value: Optional[pulumi.Input[str]]):
|
|
181
|
+
pulumi.set(self, "commodity_code", value)
|
|
182
|
+
|
|
183
|
+
@property
|
|
184
|
+
@pulumi.getter(name="commodityData")
|
|
185
|
+
def commodity_data(self) -> Optional[pulumi.Input[str]]:
|
|
186
|
+
"""
|
|
187
|
+
Define quota rules when creating quotas, for example:{"CU":50,"ord_time":"1:Month","autoRenew":false}.
|
|
188
|
+
CU (minimum quota resource size is 50)
|
|
189
|
+
ord_time 1:Month/Year (1 means quantity: Month/Year is the unit)
|
|
190
|
+
autoRenew (whether to enable automatic renewal)
|
|
191
|
+
If PaymentType is PayAsYouGo, you do not need to fill in
|
|
192
|
+
"""
|
|
193
|
+
return pulumi.get(self, "commodity_data")
|
|
194
|
+
|
|
195
|
+
@commodity_data.setter
|
|
196
|
+
def commodity_data(self, value: Optional[pulumi.Input[str]]):
|
|
197
|
+
pulumi.set(self, "commodity_data", value)
|
|
198
|
+
|
|
199
|
+
@property
|
|
200
|
+
@pulumi.getter(name="partNickName")
|
|
201
|
+
def part_nick_name(self) -> Optional[pulumi.Input[str]]:
|
|
202
|
+
"""
|
|
203
|
+
Quota partial nickname, supports English letters and numbers, up to 24 characters
|
|
204
|
+
|
|
205
|
+
> **NOTE:** If PaymentType is PayAsYouGo, you do not need to fill it in
|
|
206
|
+
"""
|
|
207
|
+
return pulumi.get(self, "part_nick_name")
|
|
208
|
+
|
|
209
|
+
@part_nick_name.setter
|
|
210
|
+
def part_nick_name(self, value: Optional[pulumi.Input[str]]):
|
|
211
|
+
pulumi.set(self, "part_nick_name", value)
|
|
212
|
+
|
|
213
|
+
@property
|
|
214
|
+
@pulumi.getter(name="paymentType")
|
|
215
|
+
def payment_type(self) -> Optional[pulumi.Input[str]]:
|
|
216
|
+
"""
|
|
217
|
+
Payment type. Valid values: Subscription/PayAsYouGo
|
|
218
|
+
|
|
219
|
+
> **NOTE:** -- PayAsYouGo only needs to be opened once per region
|
|
220
|
+
"""
|
|
221
|
+
return pulumi.get(self, "payment_type")
|
|
222
|
+
|
|
223
|
+
@payment_type.setter
|
|
224
|
+
def payment_type(self, value: Optional[pulumi.Input[str]]):
|
|
225
|
+
pulumi.set(self, "payment_type", value)
|
|
226
|
+
|
|
227
|
+
@property
|
|
228
|
+
@pulumi.getter(name="subQuotaInfoLists")
|
|
229
|
+
def sub_quota_info_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['QuotaSubQuotaInfoListArgs']]]]:
|
|
230
|
+
"""
|
|
231
|
+
Secondary Quota list
|
|
232
|
+
|
|
233
|
+
> **NOTE:** -- Add: If the configuration contains a second-level Quota that does not exist, a second-level Quota is added. -- Delete: If the configuration does not contain the existing secondary Quota, it will be deleted. -- Modify: If the configuration is inconsistent with the existing secondary Quota configuration parameters, the secondary Quota configuration will be updated. -- The default secondary Quota must be configured and cannot be deleted.
|
|
234
|
+
See `sub_quota_info_list` below.
|
|
235
|
+
"""
|
|
236
|
+
return pulumi.get(self, "sub_quota_info_lists")
|
|
237
|
+
|
|
238
|
+
@sub_quota_info_lists.setter
|
|
239
|
+
def sub_quota_info_lists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['QuotaSubQuotaInfoListArgs']]]]):
|
|
240
|
+
pulumi.set(self, "sub_quota_info_lists", value)
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
class Quota(pulumi.CustomResource):
|
|
244
|
+
@overload
|
|
245
|
+
def __init__(__self__,
|
|
246
|
+
resource_name: str,
|
|
247
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
248
|
+
commodity_code: Optional[pulumi.Input[str]] = None,
|
|
249
|
+
commodity_data: Optional[pulumi.Input[str]] = None,
|
|
250
|
+
part_nick_name: Optional[pulumi.Input[str]] = None,
|
|
251
|
+
payment_type: Optional[pulumi.Input[str]] = None,
|
|
252
|
+
sub_quota_info_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['QuotaSubQuotaInfoListArgs', 'QuotaSubQuotaInfoListArgsDict']]]]] = None,
|
|
253
|
+
__props__=None):
|
|
254
|
+
"""
|
|
255
|
+
## Import
|
|
256
|
+
|
|
257
|
+
Max Compute Quota can be imported using the id, e.g.
|
|
258
|
+
|
|
259
|
+
```sh
|
|
260
|
+
$ pulumi import alicloud:maxcompute/quota:Quota example <id>
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
:param str resource_name: The name of the resource.
|
|
264
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
265
|
+
:param pulumi.Input[str] commodity_code: Valid values: odps_intl/odpsplus_intl/odps/odpsplus
|
|
266
|
+
- *NOTE:** --odps_intl: International Station standard post-payment -- odpsplus_intl: International Station standard pre-payment -- odps: China Station standard post-payment -- odpsplus: China Station standard pre-payment
|
|
267
|
+
:param pulumi.Input[str] commodity_data: Define quota rules when creating quotas, for example:{"CU":50,"ord_time":"1:Month","autoRenew":false}.
|
|
268
|
+
CU (minimum quota resource size is 50)
|
|
269
|
+
ord_time 1:Month/Year (1 means quantity: Month/Year is the unit)
|
|
270
|
+
autoRenew (whether to enable automatic renewal)
|
|
271
|
+
If PaymentType is PayAsYouGo, you do not need to fill in
|
|
272
|
+
:param pulumi.Input[str] part_nick_name: Quota partial nickname, supports English letters and numbers, up to 24 characters
|
|
273
|
+
|
|
274
|
+
> **NOTE:** If PaymentType is PayAsYouGo, you do not need to fill it in
|
|
275
|
+
:param pulumi.Input[str] payment_type: Payment type. Valid values: Subscription/PayAsYouGo
|
|
276
|
+
|
|
277
|
+
> **NOTE:** -- PayAsYouGo only needs to be opened once per region
|
|
278
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['QuotaSubQuotaInfoListArgs', 'QuotaSubQuotaInfoListArgsDict']]]] sub_quota_info_lists: Secondary Quota list
|
|
279
|
+
|
|
280
|
+
> **NOTE:** -- Add: If the configuration contains a second-level Quota that does not exist, a second-level Quota is added. -- Delete: If the configuration does not contain the existing secondary Quota, it will be deleted. -- Modify: If the configuration is inconsistent with the existing secondary Quota configuration parameters, the secondary Quota configuration will be updated. -- The default secondary Quota must be configured and cannot be deleted.
|
|
281
|
+
See `sub_quota_info_list` below.
|
|
282
|
+
"""
|
|
283
|
+
...
|
|
284
|
+
@overload
|
|
285
|
+
def __init__(__self__,
|
|
286
|
+
resource_name: str,
|
|
287
|
+
args: QuotaArgs,
|
|
288
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
289
|
+
"""
|
|
290
|
+
## Import
|
|
291
|
+
|
|
292
|
+
Max Compute Quota can be imported using the id, e.g.
|
|
293
|
+
|
|
294
|
+
```sh
|
|
295
|
+
$ pulumi import alicloud:maxcompute/quota:Quota example <id>
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
:param str resource_name: The name of the resource.
|
|
299
|
+
:param QuotaArgs args: The arguments to use to populate this resource's properties.
|
|
300
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
301
|
+
"""
|
|
302
|
+
...
|
|
303
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
304
|
+
resource_args, opts = _utilities.get_resource_args_opts(QuotaArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
305
|
+
if resource_args is not None:
|
|
306
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
307
|
+
else:
|
|
308
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
309
|
+
|
|
310
|
+
def _internal_init(__self__,
|
|
311
|
+
resource_name: str,
|
|
312
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
313
|
+
commodity_code: Optional[pulumi.Input[str]] = None,
|
|
314
|
+
commodity_data: Optional[pulumi.Input[str]] = None,
|
|
315
|
+
part_nick_name: Optional[pulumi.Input[str]] = None,
|
|
316
|
+
payment_type: Optional[pulumi.Input[str]] = None,
|
|
317
|
+
sub_quota_info_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['QuotaSubQuotaInfoListArgs', 'QuotaSubQuotaInfoListArgsDict']]]]] = None,
|
|
318
|
+
__props__=None):
|
|
319
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
320
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
321
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
322
|
+
if opts.id is None:
|
|
323
|
+
if __props__ is not None:
|
|
324
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
325
|
+
__props__ = QuotaArgs.__new__(QuotaArgs)
|
|
326
|
+
|
|
327
|
+
if commodity_code is None and not opts.urn:
|
|
328
|
+
raise TypeError("Missing required property 'commodity_code'")
|
|
329
|
+
__props__.__dict__["commodity_code"] = commodity_code
|
|
330
|
+
__props__.__dict__["commodity_data"] = commodity_data
|
|
331
|
+
__props__.__dict__["part_nick_name"] = part_nick_name
|
|
332
|
+
if payment_type is None and not opts.urn:
|
|
333
|
+
raise TypeError("Missing required property 'payment_type'")
|
|
334
|
+
__props__.__dict__["payment_type"] = payment_type
|
|
335
|
+
__props__.__dict__["sub_quota_info_lists"] = sub_quota_info_lists
|
|
336
|
+
super(Quota, __self__).__init__(
|
|
337
|
+
'alicloud:maxcompute/quota:Quota',
|
|
338
|
+
resource_name,
|
|
339
|
+
__props__,
|
|
340
|
+
opts)
|
|
341
|
+
|
|
342
|
+
@staticmethod
|
|
343
|
+
def get(resource_name: str,
|
|
344
|
+
id: pulumi.Input[str],
|
|
345
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
346
|
+
commodity_code: Optional[pulumi.Input[str]] = None,
|
|
347
|
+
commodity_data: Optional[pulumi.Input[str]] = None,
|
|
348
|
+
part_nick_name: Optional[pulumi.Input[str]] = None,
|
|
349
|
+
payment_type: Optional[pulumi.Input[str]] = None,
|
|
350
|
+
sub_quota_info_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['QuotaSubQuotaInfoListArgs', 'QuotaSubQuotaInfoListArgsDict']]]]] = None) -> 'Quota':
|
|
351
|
+
"""
|
|
352
|
+
Get an existing Quota resource's state with the given name, id, and optional extra
|
|
353
|
+
properties used to qualify the lookup.
|
|
354
|
+
|
|
355
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
356
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
357
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
358
|
+
:param pulumi.Input[str] commodity_code: Valid values: odps_intl/odpsplus_intl/odps/odpsplus
|
|
359
|
+
- *NOTE:** --odps_intl: International Station standard post-payment -- odpsplus_intl: International Station standard pre-payment -- odps: China Station standard post-payment -- odpsplus: China Station standard pre-payment
|
|
360
|
+
:param pulumi.Input[str] commodity_data: Define quota rules when creating quotas, for example:{"CU":50,"ord_time":"1:Month","autoRenew":false}.
|
|
361
|
+
CU (minimum quota resource size is 50)
|
|
362
|
+
ord_time 1:Month/Year (1 means quantity: Month/Year is the unit)
|
|
363
|
+
autoRenew (whether to enable automatic renewal)
|
|
364
|
+
If PaymentType is PayAsYouGo, you do not need to fill in
|
|
365
|
+
:param pulumi.Input[str] part_nick_name: Quota partial nickname, supports English letters and numbers, up to 24 characters
|
|
366
|
+
|
|
367
|
+
> **NOTE:** If PaymentType is PayAsYouGo, you do not need to fill it in
|
|
368
|
+
:param pulumi.Input[str] payment_type: Payment type. Valid values: Subscription/PayAsYouGo
|
|
369
|
+
|
|
370
|
+
> **NOTE:** -- PayAsYouGo only needs to be opened once per region
|
|
371
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['QuotaSubQuotaInfoListArgs', 'QuotaSubQuotaInfoListArgsDict']]]] sub_quota_info_lists: Secondary Quota list
|
|
372
|
+
|
|
373
|
+
> **NOTE:** -- Add: If the configuration contains a second-level Quota that does not exist, a second-level Quota is added. -- Delete: If the configuration does not contain the existing secondary Quota, it will be deleted. -- Modify: If the configuration is inconsistent with the existing secondary Quota configuration parameters, the secondary Quota configuration will be updated. -- The default secondary Quota must be configured and cannot be deleted.
|
|
374
|
+
See `sub_quota_info_list` below.
|
|
375
|
+
"""
|
|
376
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
377
|
+
|
|
378
|
+
__props__ = _QuotaState.__new__(_QuotaState)
|
|
379
|
+
|
|
380
|
+
__props__.__dict__["commodity_code"] = commodity_code
|
|
381
|
+
__props__.__dict__["commodity_data"] = commodity_data
|
|
382
|
+
__props__.__dict__["part_nick_name"] = part_nick_name
|
|
383
|
+
__props__.__dict__["payment_type"] = payment_type
|
|
384
|
+
__props__.__dict__["sub_quota_info_lists"] = sub_quota_info_lists
|
|
385
|
+
return Quota(resource_name, opts=opts, __props__=__props__)
|
|
386
|
+
|
|
387
|
+
@property
|
|
388
|
+
@pulumi.getter(name="commodityCode")
|
|
389
|
+
def commodity_code(self) -> pulumi.Output[str]:
|
|
390
|
+
"""
|
|
391
|
+
Valid values: odps_intl/odpsplus_intl/odps/odpsplus
|
|
392
|
+
- *NOTE:** --odps_intl: International Station standard post-payment -- odpsplus_intl: International Station standard pre-payment -- odps: China Station standard post-payment -- odpsplus: China Station standard pre-payment
|
|
393
|
+
"""
|
|
394
|
+
return pulumi.get(self, "commodity_code")
|
|
395
|
+
|
|
396
|
+
@property
|
|
397
|
+
@pulumi.getter(name="commodityData")
|
|
398
|
+
def commodity_data(self) -> pulumi.Output[Optional[str]]:
|
|
399
|
+
"""
|
|
400
|
+
Define quota rules when creating quotas, for example:{"CU":50,"ord_time":"1:Month","autoRenew":false}.
|
|
401
|
+
CU (minimum quota resource size is 50)
|
|
402
|
+
ord_time 1:Month/Year (1 means quantity: Month/Year is the unit)
|
|
403
|
+
autoRenew (whether to enable automatic renewal)
|
|
404
|
+
If PaymentType is PayAsYouGo, you do not need to fill in
|
|
405
|
+
"""
|
|
406
|
+
return pulumi.get(self, "commodity_data")
|
|
407
|
+
|
|
408
|
+
@property
|
|
409
|
+
@pulumi.getter(name="partNickName")
|
|
410
|
+
def part_nick_name(self) -> pulumi.Output[Optional[str]]:
|
|
411
|
+
"""
|
|
412
|
+
Quota partial nickname, supports English letters and numbers, up to 24 characters
|
|
413
|
+
|
|
414
|
+
> **NOTE:** If PaymentType is PayAsYouGo, you do not need to fill it in
|
|
415
|
+
"""
|
|
416
|
+
return pulumi.get(self, "part_nick_name")
|
|
417
|
+
|
|
418
|
+
@property
|
|
419
|
+
@pulumi.getter(name="paymentType")
|
|
420
|
+
def payment_type(self) -> pulumi.Output[str]:
|
|
421
|
+
"""
|
|
422
|
+
Payment type. Valid values: Subscription/PayAsYouGo
|
|
423
|
+
|
|
424
|
+
> **NOTE:** -- PayAsYouGo only needs to be opened once per region
|
|
425
|
+
"""
|
|
426
|
+
return pulumi.get(self, "payment_type")
|
|
427
|
+
|
|
428
|
+
@property
|
|
429
|
+
@pulumi.getter(name="subQuotaInfoLists")
|
|
430
|
+
def sub_quota_info_lists(self) -> pulumi.Output[Sequence['outputs.QuotaSubQuotaInfoList']]:
|
|
431
|
+
"""
|
|
432
|
+
Secondary Quota list
|
|
433
|
+
|
|
434
|
+
> **NOTE:** -- Add: If the configuration contains a second-level Quota that does not exist, a second-level Quota is added. -- Delete: If the configuration does not contain the existing secondary Quota, it will be deleted. -- Modify: If the configuration is inconsistent with the existing secondary Quota configuration parameters, the secondary Quota configuration will be updated. -- The default secondary Quota must be configured and cannot be deleted.
|
|
435
|
+
See `sub_quota_info_list` below.
|
|
436
|
+
"""
|
|
437
|
+
return pulumi.get(self, "sub_quota_info_lists")
|
|
438
|
+
|