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.
- pulumi_alicloud/__init__.py +150 -0
- pulumi_alicloud/adb/resource_group.py +48 -20
- pulumi_alicloud/alb/_inputs.py +22 -22
- pulumi_alicloud/alb/load_balancer.py +119 -133
- pulumi_alicloud/alb/outputs.py +22 -22
- pulumi_alicloud/alb/server_group.py +2 -2
- pulumi_alicloud/aligreen/__init__.py +13 -0
- pulumi_alicloud/aligreen/audit_callback.py +422 -0
- pulumi_alicloud/aligreen/biz_type.py +398 -0
- pulumi_alicloud/aligreen/callback.py +449 -0
- pulumi_alicloud/aligreen/image_lib.py +406 -0
- pulumi_alicloud/aligreen/keyword_lib.py +615 -0
- pulumi_alicloud/aligreen/oss_stock_task.py +1661 -0
- pulumi_alicloud/amqp/binding.py +94 -102
- pulumi_alicloud/apigateway/__init__.py +2 -0
- pulumi_alicloud/apigateway/_inputs.py +221 -2
- pulumi_alicloud/apigateway/access_control_list.py +17 -9
- pulumi_alicloud/apigateway/acl_entry_attachment.py +303 -0
- pulumi_alicloud/apigateway/api.py +4 -2
- pulumi_alicloud/apigateway/group.py +51 -2
- pulumi_alicloud/apigateway/instance.py +396 -63
- pulumi_alicloud/apigateway/instance_acl_attachment.py +326 -0
- pulumi_alicloud/apigateway/outputs.py +223 -2
- pulumi_alicloud/apigateway/vpc_access.py +2 -2
- pulumi_alicloud/arms/get_remote_writes.py +4 -0
- pulumi_alicloud/arms/outputs.py +2 -2
- pulumi_alicloud/arms/remote_write.py +4 -0
- pulumi_alicloud/cen/route_entry.py +2 -2
- pulumi_alicloud/cen/vbr_health_check.py +1 -1
- pulumi_alicloud/cfg/aggregate_delivery.py +255 -118
- pulumi_alicloud/cfg/delivery.py +259 -122
- pulumi_alicloud/clickhouse/_inputs.py +39 -0
- pulumi_alicloud/clickhouse/db_cluster.py +66 -6
- pulumi_alicloud/clickhouse/outputs.py +50 -0
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/control_policy.py +116 -108
- pulumi_alicloud/cloudfirewall/vpc_cen_tr_firewall.py +929 -0
- pulumi_alicloud/cloudmonitor/service_monitoring_agent_process.py +2 -2
- pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +0 -76
- pulumi_alicloud/cms/_inputs.py +214 -42
- pulumi_alicloud/cms/alarm.py +61 -14
- pulumi_alicloud/cms/dynamic_tag_group.py +53 -51
- pulumi_alicloud/cms/metric_rule_black_list.py +2 -2
- pulumi_alicloud/cms/metric_rule_template.py +54 -87
- pulumi_alicloud/cms/outputs.py +214 -42
- pulumi_alicloud/cs/get_kubernetes_clusters.py +4 -2
- pulumi_alicloud/cs/outputs.py +2 -2
- pulumi_alicloud/databasefilesystem/instance_attachment.py +2 -2
- pulumi_alicloud/databasefilesystem/snapshot.py +2 -2
- pulumi_alicloud/ddos/basic_threshold.py +2 -2
- pulumi_alicloud/ddos/bgp_ip.py +2 -6
- pulumi_alicloud/eci/get_container_groups.py +2 -2
- pulumi_alicloud/ecs/ecs_disk_attachment.py +2 -2
- pulumi_alicloud/ecs/ecs_image_pipeline.py +2 -2
- pulumi_alicloud/ecs/ecs_instance_set.py +2 -2
- pulumi_alicloud/ecs/ecs_invocation.py +2 -2
- pulumi_alicloud/ecs/ecs_key_pair_attachment.py +2 -2
- pulumi_alicloud/ecs/ecs_launch_template.py +9 -9
- pulumi_alicloud/ecs/ecs_network_interface_attachment.py +2 -2
- pulumi_alicloud/ecs/eip_association.py +4 -6
- pulumi_alicloud/ecs/get_ecs_network_interfaces.py +46 -6
- pulumi_alicloud/ecs/get_instances.py +3 -3
- pulumi_alicloud/ecs/get_network_interfaces.py +5 -5
- pulumi_alicloud/ecs/image.py +4 -6
- pulumi_alicloud/ecs/image_copy.py +2 -2
- pulumi_alicloud/ecs/image_export.py +2 -2
- pulumi_alicloud/ecs/image_import.py +14 -6
- pulumi_alicloud/ecs/image_share_permission.py +2 -2
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/ecs/outputs.py +48 -26
- pulumi_alicloud/edas/instance_cluster_attachment.py +2 -2
- pulumi_alicloud/eds/outputs.py +10 -10
- pulumi_alicloud/ess/scaling_group.py +101 -7
- pulumi_alicloud/fc/__init__.py +7 -0
- pulumi_alicloud/fc/_inputs.py +1666 -0
- pulumi_alicloud/fc/outputs.py +1723 -2
- pulumi_alicloud/fc/v3_alias.py +440 -0
- pulumi_alicloud/fc/v3_async_invoke_config.py +439 -0
- pulumi_alicloud/fc/v3_concurrency_config.py +281 -0
- pulumi_alicloud/fc/v3_custom_domain.py +847 -0
- pulumi_alicloud/fc/v3_function.py +1391 -0
- pulumi_alicloud/fc/v3_function_version.py +313 -0
- pulumi_alicloud/fc/v3_trigger.py +663 -0
- pulumi_alicloud/ga/basic_accelerator.py +8 -8
- pulumi_alicloud/governance/__init__.py +12 -0
- pulumi_alicloud/governance/_inputs.py +70 -0
- pulumi_alicloud/governance/account.py +505 -0
- pulumi_alicloud/governance/baseline.py +387 -0
- pulumi_alicloud/governance/get_baselines.py +241 -0
- pulumi_alicloud/governance/outputs.py +99 -0
- pulumi_alicloud/hbr/ecs_backup_client.py +2 -2
- pulumi_alicloud/hbr/ecs_backup_plan.py +2 -2
- pulumi_alicloud/hbr/server_backup_plan.py +2 -2
- pulumi_alicloud/kvstore/instance.py +47 -0
- pulumi_alicloud/kvstore/outputs.py +2 -2
- pulumi_alicloud/maxcompute/get_projects.py +12 -14
- pulumi_alicloud/maxcompute/get_service.py +4 -0
- pulumi_alicloud/maxcompute/outputs.py +75 -60
- pulumi_alicloud/maxcompute/project.py +7 -7
- pulumi_alicloud/polardb/outputs.py +2 -2
- pulumi_alicloud/privatelink/outputs.py +2 -2
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/login_profile.py +8 -8
- pulumi_alicloud/rds/get_instances.py +1 -1
- pulumi_alicloud/rds/rds_account.py +189 -49
- pulumi_alicloud/rds/read_write_splitting_connection.py +10 -2
- pulumi_alicloud/slb/get_application_load_balancers.py +3 -3
- pulumi_alicloud/slb/get_load_balancers.py +3 -3
- pulumi_alicloud/slb/load_balancer.py +7 -7
- pulumi_alicloud/slb/outputs.py +8 -8
- pulumi_alicloud/slb/server_group_server_attachment.py +2 -2
- pulumi_alicloud/vpc/bgp_peer.py +1 -1
- pulumi_alicloud/vpc/get_networks.py +2 -2
- pulumi_alicloud/vpc/get_switches.py +27 -27
- pulumi_alicloud/vpc/ha_vip_attachment.py +2 -2
- pulumi_alicloud/vpc/outputs.py +24 -24
- pulumi_alicloud/vpc/traffic_mirror_session.py +2 -2
- pulumi_alicloud/vpn/outputs.py +4 -4
- {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/RECORD +122 -99
- {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/top_level.txt +0 -0
|
@@ -535,13 +535,13 @@ class BasicAccelerator(pulumi.CustomResource):
|
|
|
535
535
|
import pulumi_alicloud as alicloud
|
|
536
536
|
|
|
537
537
|
default = alicloud.ga.BasicAccelerator("default",
|
|
538
|
-
bandwidth_billing_type="BandwidthPackage",
|
|
539
|
-
auto_pay=True,
|
|
540
538
|
duration=1,
|
|
541
539
|
pricing_cycle="Month",
|
|
542
|
-
auto_use_coupon="true",
|
|
543
540
|
basic_accelerator_name="tf-example-value",
|
|
544
|
-
description="tf-example-value"
|
|
541
|
+
description="tf-example-value",
|
|
542
|
+
bandwidth_billing_type="BandwidthPackage",
|
|
543
|
+
auto_pay=True,
|
|
544
|
+
auto_use_coupon="true")
|
|
545
545
|
```
|
|
546
546
|
|
|
547
547
|
## Import
|
|
@@ -593,13 +593,13 @@ class BasicAccelerator(pulumi.CustomResource):
|
|
|
593
593
|
import pulumi_alicloud as alicloud
|
|
594
594
|
|
|
595
595
|
default = alicloud.ga.BasicAccelerator("default",
|
|
596
|
-
bandwidth_billing_type="BandwidthPackage",
|
|
597
|
-
auto_pay=True,
|
|
598
596
|
duration=1,
|
|
599
597
|
pricing_cycle="Month",
|
|
600
|
-
auto_use_coupon="true",
|
|
601
598
|
basic_accelerator_name="tf-example-value",
|
|
602
|
-
description="tf-example-value"
|
|
599
|
+
description="tf-example-value",
|
|
600
|
+
bandwidth_billing_type="BandwidthPackage",
|
|
601
|
+
auto_pay=True,
|
|
602
|
+
auto_use_coupon="true")
|
|
603
603
|
```
|
|
604
604
|
|
|
605
605
|
## Import
|
|
@@ -0,0 +1,12 @@
|
|
|
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 .account import *
|
|
9
|
+
from .baseline import *
|
|
10
|
+
from .get_baselines import *
|
|
11
|
+
from ._inputs import *
|
|
12
|
+
from . import outputs
|
|
@@ -0,0 +1,70 @@
|
|
|
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__ = [
|
|
13
|
+
'BaselineBaselineItemArgs',
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
@pulumi.input_type
|
|
17
|
+
class BaselineBaselineItemArgs:
|
|
18
|
+
def __init__(__self__, *,
|
|
19
|
+
config: Optional[pulumi.Input[str]] = None,
|
|
20
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
21
|
+
version: Optional[pulumi.Input[str]] = None):
|
|
22
|
+
"""
|
|
23
|
+
:param pulumi.Input[str] config: Baseline item configuration. The format is a JSON string.
|
|
24
|
+
:param pulumi.Input[str] name: The baseline item name.
|
|
25
|
+
:param pulumi.Input[str] version: The baseline item version.
|
|
26
|
+
"""
|
|
27
|
+
if config is not None:
|
|
28
|
+
pulumi.set(__self__, "config", config)
|
|
29
|
+
if name is not None:
|
|
30
|
+
pulumi.set(__self__, "name", name)
|
|
31
|
+
if version is not None:
|
|
32
|
+
pulumi.set(__self__, "version", version)
|
|
33
|
+
|
|
34
|
+
@property
|
|
35
|
+
@pulumi.getter
|
|
36
|
+
def config(self) -> Optional[pulumi.Input[str]]:
|
|
37
|
+
"""
|
|
38
|
+
Baseline item configuration. The format is a JSON string.
|
|
39
|
+
"""
|
|
40
|
+
return pulumi.get(self, "config")
|
|
41
|
+
|
|
42
|
+
@config.setter
|
|
43
|
+
def config(self, value: Optional[pulumi.Input[str]]):
|
|
44
|
+
pulumi.set(self, "config", value)
|
|
45
|
+
|
|
46
|
+
@property
|
|
47
|
+
@pulumi.getter
|
|
48
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
49
|
+
"""
|
|
50
|
+
The baseline item name.
|
|
51
|
+
"""
|
|
52
|
+
return pulumi.get(self, "name")
|
|
53
|
+
|
|
54
|
+
@name.setter
|
|
55
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
56
|
+
pulumi.set(self, "name", value)
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
@pulumi.getter
|
|
60
|
+
def version(self) -> Optional[pulumi.Input[str]]:
|
|
61
|
+
"""
|
|
62
|
+
The baseline item version.
|
|
63
|
+
"""
|
|
64
|
+
return pulumi.get(self, "version")
|
|
65
|
+
|
|
66
|
+
@version.setter
|
|
67
|
+
def version(self, value: Optional[pulumi.Input[str]]):
|
|
68
|
+
pulumi.set(self, "version", value)
|
|
69
|
+
|
|
70
|
+
|
|
@@ -0,0 +1,505 @@
|
|
|
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__ = ['AccountArgs', 'Account']
|
|
13
|
+
|
|
14
|
+
@pulumi.input_type
|
|
15
|
+
class AccountArgs:
|
|
16
|
+
def __init__(__self__, *,
|
|
17
|
+
baseline_id: pulumi.Input[str],
|
|
18
|
+
account_id: Optional[pulumi.Input[int]] = None,
|
|
19
|
+
account_name_prefix: Optional[pulumi.Input[str]] = None,
|
|
20
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
|
21
|
+
folder_id: Optional[pulumi.Input[str]] = None,
|
|
22
|
+
payer_account_id: Optional[pulumi.Input[int]] = None):
|
|
23
|
+
"""
|
|
24
|
+
The set of arguments for constructing a Account resource.
|
|
25
|
+
:param pulumi.Input[str] baseline_id: The baseline ID.
|
|
26
|
+
|
|
27
|
+
If it is left blank, the system default baseline is used by default.
|
|
28
|
+
:param pulumi.Input[int] account_id: The ID of the enrolled account.
|
|
29
|
+
- If you are creating a new resource account, this parameter is not required.
|
|
30
|
+
- If you are enrolling a existing account to account factory, this parameter is required.
|
|
31
|
+
:param pulumi.Input[str] account_name_prefix: Account name prefix.
|
|
32
|
+
- This parameter is required if you are creating a new resource account.
|
|
33
|
+
- If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
34
|
+
:param pulumi.Input[str] display_name: The account display name.
|
|
35
|
+
- This parameter is required if you are creating a new resource account.
|
|
36
|
+
- If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
37
|
+
:param pulumi.Input[str] folder_id: The ID of the parent resource folder.
|
|
38
|
+
|
|
39
|
+
If you want to create a new resource account and leave this parameter blank, the account is created in the Root folder by default.
|
|
40
|
+
|
|
41
|
+
If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
42
|
+
:param pulumi.Input[int] payer_account_id: The ID of the billing account. If you leave this parameter empty, the current account is used as the billing account.
|
|
43
|
+
"""
|
|
44
|
+
pulumi.set(__self__, "baseline_id", baseline_id)
|
|
45
|
+
if account_id is not None:
|
|
46
|
+
pulumi.set(__self__, "account_id", account_id)
|
|
47
|
+
if account_name_prefix is not None:
|
|
48
|
+
pulumi.set(__self__, "account_name_prefix", account_name_prefix)
|
|
49
|
+
if display_name is not None:
|
|
50
|
+
pulumi.set(__self__, "display_name", display_name)
|
|
51
|
+
if folder_id is not None:
|
|
52
|
+
pulumi.set(__self__, "folder_id", folder_id)
|
|
53
|
+
if payer_account_id is not None:
|
|
54
|
+
pulumi.set(__self__, "payer_account_id", payer_account_id)
|
|
55
|
+
|
|
56
|
+
@property
|
|
57
|
+
@pulumi.getter(name="baselineId")
|
|
58
|
+
def baseline_id(self) -> pulumi.Input[str]:
|
|
59
|
+
"""
|
|
60
|
+
The baseline ID.
|
|
61
|
+
|
|
62
|
+
If it is left blank, the system default baseline is used by default.
|
|
63
|
+
"""
|
|
64
|
+
return pulumi.get(self, "baseline_id")
|
|
65
|
+
|
|
66
|
+
@baseline_id.setter
|
|
67
|
+
def baseline_id(self, value: pulumi.Input[str]):
|
|
68
|
+
pulumi.set(self, "baseline_id", value)
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
@pulumi.getter(name="accountId")
|
|
72
|
+
def account_id(self) -> Optional[pulumi.Input[int]]:
|
|
73
|
+
"""
|
|
74
|
+
The ID of the enrolled account.
|
|
75
|
+
- If you are creating a new resource account, this parameter is not required.
|
|
76
|
+
- If you are enrolling a existing account to account factory, this parameter is required.
|
|
77
|
+
"""
|
|
78
|
+
return pulumi.get(self, "account_id")
|
|
79
|
+
|
|
80
|
+
@account_id.setter
|
|
81
|
+
def account_id(self, value: Optional[pulumi.Input[int]]):
|
|
82
|
+
pulumi.set(self, "account_id", value)
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
@pulumi.getter(name="accountNamePrefix")
|
|
86
|
+
def account_name_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
87
|
+
"""
|
|
88
|
+
Account name prefix.
|
|
89
|
+
- This parameter is required if you are creating a new resource account.
|
|
90
|
+
- If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
91
|
+
"""
|
|
92
|
+
return pulumi.get(self, "account_name_prefix")
|
|
93
|
+
|
|
94
|
+
@account_name_prefix.setter
|
|
95
|
+
def account_name_prefix(self, value: Optional[pulumi.Input[str]]):
|
|
96
|
+
pulumi.set(self, "account_name_prefix", value)
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
@pulumi.getter(name="displayName")
|
|
100
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
|
101
|
+
"""
|
|
102
|
+
The account display name.
|
|
103
|
+
- This parameter is required if you are creating a new resource account.
|
|
104
|
+
- If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
105
|
+
"""
|
|
106
|
+
return pulumi.get(self, "display_name")
|
|
107
|
+
|
|
108
|
+
@display_name.setter
|
|
109
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
|
110
|
+
pulumi.set(self, "display_name", value)
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
@pulumi.getter(name="folderId")
|
|
114
|
+
def folder_id(self) -> Optional[pulumi.Input[str]]:
|
|
115
|
+
"""
|
|
116
|
+
The ID of the parent resource folder.
|
|
117
|
+
|
|
118
|
+
If you want to create a new resource account and leave this parameter blank, the account is created in the Root folder by default.
|
|
119
|
+
|
|
120
|
+
If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
121
|
+
"""
|
|
122
|
+
return pulumi.get(self, "folder_id")
|
|
123
|
+
|
|
124
|
+
@folder_id.setter
|
|
125
|
+
def folder_id(self, value: Optional[pulumi.Input[str]]):
|
|
126
|
+
pulumi.set(self, "folder_id", value)
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
@pulumi.getter(name="payerAccountId")
|
|
130
|
+
def payer_account_id(self) -> Optional[pulumi.Input[int]]:
|
|
131
|
+
"""
|
|
132
|
+
The ID of the billing account. If you leave this parameter empty, the current account is used as the billing account.
|
|
133
|
+
"""
|
|
134
|
+
return pulumi.get(self, "payer_account_id")
|
|
135
|
+
|
|
136
|
+
@payer_account_id.setter
|
|
137
|
+
def payer_account_id(self, value: Optional[pulumi.Input[int]]):
|
|
138
|
+
pulumi.set(self, "payer_account_id", value)
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
@pulumi.input_type
|
|
142
|
+
class _AccountState:
|
|
143
|
+
def __init__(__self__, *,
|
|
144
|
+
account_id: Optional[pulumi.Input[int]] = None,
|
|
145
|
+
account_name_prefix: Optional[pulumi.Input[str]] = None,
|
|
146
|
+
baseline_id: Optional[pulumi.Input[str]] = None,
|
|
147
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
|
148
|
+
folder_id: Optional[pulumi.Input[str]] = None,
|
|
149
|
+
payer_account_id: Optional[pulumi.Input[int]] = None,
|
|
150
|
+
status: Optional[pulumi.Input[str]] = None):
|
|
151
|
+
"""
|
|
152
|
+
Input properties used for looking up and filtering Account resources.
|
|
153
|
+
:param pulumi.Input[int] account_id: The ID of the enrolled account.
|
|
154
|
+
- If you are creating a new resource account, this parameter is not required.
|
|
155
|
+
- If you are enrolling a existing account to account factory, this parameter is required.
|
|
156
|
+
:param pulumi.Input[str] account_name_prefix: Account name prefix.
|
|
157
|
+
- This parameter is required if you are creating a new resource account.
|
|
158
|
+
- If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
159
|
+
:param pulumi.Input[str] baseline_id: The baseline ID.
|
|
160
|
+
|
|
161
|
+
If it is left blank, the system default baseline is used by default.
|
|
162
|
+
:param pulumi.Input[str] display_name: The account display name.
|
|
163
|
+
- This parameter is required if you are creating a new resource account.
|
|
164
|
+
- If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
165
|
+
:param pulumi.Input[str] folder_id: The ID of the parent resource folder.
|
|
166
|
+
|
|
167
|
+
If you want to create a new resource account and leave this parameter blank, the account is created in the Root folder by default.
|
|
168
|
+
|
|
169
|
+
If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
170
|
+
:param pulumi.Input[int] payer_account_id: The ID of the billing account. If you leave this parameter empty, the current account is used as the billing account.
|
|
171
|
+
:param pulumi.Input[str] status: Account registration status. Value:
|
|
172
|
+
"""
|
|
173
|
+
if account_id is not None:
|
|
174
|
+
pulumi.set(__self__, "account_id", account_id)
|
|
175
|
+
if account_name_prefix is not None:
|
|
176
|
+
pulumi.set(__self__, "account_name_prefix", account_name_prefix)
|
|
177
|
+
if baseline_id is not None:
|
|
178
|
+
pulumi.set(__self__, "baseline_id", baseline_id)
|
|
179
|
+
if display_name is not None:
|
|
180
|
+
pulumi.set(__self__, "display_name", display_name)
|
|
181
|
+
if folder_id is not None:
|
|
182
|
+
pulumi.set(__self__, "folder_id", folder_id)
|
|
183
|
+
if payer_account_id is not None:
|
|
184
|
+
pulumi.set(__self__, "payer_account_id", payer_account_id)
|
|
185
|
+
if status is not None:
|
|
186
|
+
pulumi.set(__self__, "status", status)
|
|
187
|
+
|
|
188
|
+
@property
|
|
189
|
+
@pulumi.getter(name="accountId")
|
|
190
|
+
def account_id(self) -> Optional[pulumi.Input[int]]:
|
|
191
|
+
"""
|
|
192
|
+
The ID of the enrolled account.
|
|
193
|
+
- If you are creating a new resource account, this parameter is not required.
|
|
194
|
+
- If you are enrolling a existing account to account factory, this parameter is required.
|
|
195
|
+
"""
|
|
196
|
+
return pulumi.get(self, "account_id")
|
|
197
|
+
|
|
198
|
+
@account_id.setter
|
|
199
|
+
def account_id(self, value: Optional[pulumi.Input[int]]):
|
|
200
|
+
pulumi.set(self, "account_id", value)
|
|
201
|
+
|
|
202
|
+
@property
|
|
203
|
+
@pulumi.getter(name="accountNamePrefix")
|
|
204
|
+
def account_name_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
205
|
+
"""
|
|
206
|
+
Account name prefix.
|
|
207
|
+
- This parameter is required if you are creating a new resource account.
|
|
208
|
+
- If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
209
|
+
"""
|
|
210
|
+
return pulumi.get(self, "account_name_prefix")
|
|
211
|
+
|
|
212
|
+
@account_name_prefix.setter
|
|
213
|
+
def account_name_prefix(self, value: Optional[pulumi.Input[str]]):
|
|
214
|
+
pulumi.set(self, "account_name_prefix", value)
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
@pulumi.getter(name="baselineId")
|
|
218
|
+
def baseline_id(self) -> Optional[pulumi.Input[str]]:
|
|
219
|
+
"""
|
|
220
|
+
The baseline ID.
|
|
221
|
+
|
|
222
|
+
If it is left blank, the system default baseline is used by default.
|
|
223
|
+
"""
|
|
224
|
+
return pulumi.get(self, "baseline_id")
|
|
225
|
+
|
|
226
|
+
@baseline_id.setter
|
|
227
|
+
def baseline_id(self, value: Optional[pulumi.Input[str]]):
|
|
228
|
+
pulumi.set(self, "baseline_id", value)
|
|
229
|
+
|
|
230
|
+
@property
|
|
231
|
+
@pulumi.getter(name="displayName")
|
|
232
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
|
233
|
+
"""
|
|
234
|
+
The account display name.
|
|
235
|
+
- This parameter is required if you are creating a new resource account.
|
|
236
|
+
- If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
237
|
+
"""
|
|
238
|
+
return pulumi.get(self, "display_name")
|
|
239
|
+
|
|
240
|
+
@display_name.setter
|
|
241
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
|
242
|
+
pulumi.set(self, "display_name", value)
|
|
243
|
+
|
|
244
|
+
@property
|
|
245
|
+
@pulumi.getter(name="folderId")
|
|
246
|
+
def folder_id(self) -> Optional[pulumi.Input[str]]:
|
|
247
|
+
"""
|
|
248
|
+
The ID of the parent resource folder.
|
|
249
|
+
|
|
250
|
+
If you want to create a new resource account and leave this parameter blank, the account is created in the Root folder by default.
|
|
251
|
+
|
|
252
|
+
If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
253
|
+
"""
|
|
254
|
+
return pulumi.get(self, "folder_id")
|
|
255
|
+
|
|
256
|
+
@folder_id.setter
|
|
257
|
+
def folder_id(self, value: Optional[pulumi.Input[str]]):
|
|
258
|
+
pulumi.set(self, "folder_id", value)
|
|
259
|
+
|
|
260
|
+
@property
|
|
261
|
+
@pulumi.getter(name="payerAccountId")
|
|
262
|
+
def payer_account_id(self) -> Optional[pulumi.Input[int]]:
|
|
263
|
+
"""
|
|
264
|
+
The ID of the billing account. If you leave this parameter empty, the current account is used as the billing account.
|
|
265
|
+
"""
|
|
266
|
+
return pulumi.get(self, "payer_account_id")
|
|
267
|
+
|
|
268
|
+
@payer_account_id.setter
|
|
269
|
+
def payer_account_id(self, value: Optional[pulumi.Input[int]]):
|
|
270
|
+
pulumi.set(self, "payer_account_id", value)
|
|
271
|
+
|
|
272
|
+
@property
|
|
273
|
+
@pulumi.getter
|
|
274
|
+
def status(self) -> Optional[pulumi.Input[str]]:
|
|
275
|
+
"""
|
|
276
|
+
Account registration status. Value:
|
|
277
|
+
"""
|
|
278
|
+
return pulumi.get(self, "status")
|
|
279
|
+
|
|
280
|
+
@status.setter
|
|
281
|
+
def status(self, value: Optional[pulumi.Input[str]]):
|
|
282
|
+
pulumi.set(self, "status", value)
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
class Account(pulumi.CustomResource):
|
|
286
|
+
@overload
|
|
287
|
+
def __init__(__self__,
|
|
288
|
+
resource_name: str,
|
|
289
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
290
|
+
account_id: Optional[pulumi.Input[int]] = None,
|
|
291
|
+
account_name_prefix: Optional[pulumi.Input[str]] = None,
|
|
292
|
+
baseline_id: Optional[pulumi.Input[str]] = None,
|
|
293
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
|
294
|
+
folder_id: Optional[pulumi.Input[str]] = None,
|
|
295
|
+
payer_account_id: Optional[pulumi.Input[int]] = None,
|
|
296
|
+
__props__=None):
|
|
297
|
+
"""
|
|
298
|
+
## Import
|
|
299
|
+
|
|
300
|
+
Governance Account can be imported using the id, e.g.
|
|
301
|
+
|
|
302
|
+
```sh
|
|
303
|
+
$ pulumi import alicloud:governance/account:Account example <id>
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
:param str resource_name: The name of the resource.
|
|
307
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
308
|
+
:param pulumi.Input[int] account_id: The ID of the enrolled account.
|
|
309
|
+
- If you are creating a new resource account, this parameter is not required.
|
|
310
|
+
- If you are enrolling a existing account to account factory, this parameter is required.
|
|
311
|
+
:param pulumi.Input[str] account_name_prefix: Account name prefix.
|
|
312
|
+
- This parameter is required if you are creating a new resource account.
|
|
313
|
+
- If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
314
|
+
:param pulumi.Input[str] baseline_id: The baseline ID.
|
|
315
|
+
|
|
316
|
+
If it is left blank, the system default baseline is used by default.
|
|
317
|
+
:param pulumi.Input[str] display_name: The account display name.
|
|
318
|
+
- This parameter is required if you are creating a new resource account.
|
|
319
|
+
- If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
320
|
+
:param pulumi.Input[str] folder_id: The ID of the parent resource folder.
|
|
321
|
+
|
|
322
|
+
If you want to create a new resource account and leave this parameter blank, the account is created in the Root folder by default.
|
|
323
|
+
|
|
324
|
+
If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
325
|
+
:param pulumi.Input[int] payer_account_id: The ID of the billing account. If you leave this parameter empty, the current account is used as the billing account.
|
|
326
|
+
"""
|
|
327
|
+
...
|
|
328
|
+
@overload
|
|
329
|
+
def __init__(__self__,
|
|
330
|
+
resource_name: str,
|
|
331
|
+
args: AccountArgs,
|
|
332
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
333
|
+
"""
|
|
334
|
+
## Import
|
|
335
|
+
|
|
336
|
+
Governance Account can be imported using the id, e.g.
|
|
337
|
+
|
|
338
|
+
```sh
|
|
339
|
+
$ pulumi import alicloud:governance/account:Account example <id>
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
:param str resource_name: The name of the resource.
|
|
343
|
+
:param AccountArgs args: The arguments to use to populate this resource's properties.
|
|
344
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
345
|
+
"""
|
|
346
|
+
...
|
|
347
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
348
|
+
resource_args, opts = _utilities.get_resource_args_opts(AccountArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
349
|
+
if resource_args is not None:
|
|
350
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
351
|
+
else:
|
|
352
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
353
|
+
|
|
354
|
+
def _internal_init(__self__,
|
|
355
|
+
resource_name: str,
|
|
356
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
357
|
+
account_id: Optional[pulumi.Input[int]] = None,
|
|
358
|
+
account_name_prefix: Optional[pulumi.Input[str]] = None,
|
|
359
|
+
baseline_id: Optional[pulumi.Input[str]] = None,
|
|
360
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
|
361
|
+
folder_id: Optional[pulumi.Input[str]] = None,
|
|
362
|
+
payer_account_id: Optional[pulumi.Input[int]] = None,
|
|
363
|
+
__props__=None):
|
|
364
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
365
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
366
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
367
|
+
if opts.id is None:
|
|
368
|
+
if __props__ is not None:
|
|
369
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
370
|
+
__props__ = AccountArgs.__new__(AccountArgs)
|
|
371
|
+
|
|
372
|
+
__props__.__dict__["account_id"] = account_id
|
|
373
|
+
__props__.__dict__["account_name_prefix"] = account_name_prefix
|
|
374
|
+
if baseline_id is None and not opts.urn:
|
|
375
|
+
raise TypeError("Missing required property 'baseline_id'")
|
|
376
|
+
__props__.__dict__["baseline_id"] = baseline_id
|
|
377
|
+
__props__.__dict__["display_name"] = display_name
|
|
378
|
+
__props__.__dict__["folder_id"] = folder_id
|
|
379
|
+
__props__.__dict__["payer_account_id"] = payer_account_id
|
|
380
|
+
__props__.__dict__["status"] = None
|
|
381
|
+
super(Account, __self__).__init__(
|
|
382
|
+
'alicloud:governance/account:Account',
|
|
383
|
+
resource_name,
|
|
384
|
+
__props__,
|
|
385
|
+
opts)
|
|
386
|
+
|
|
387
|
+
@staticmethod
|
|
388
|
+
def get(resource_name: str,
|
|
389
|
+
id: pulumi.Input[str],
|
|
390
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
391
|
+
account_id: Optional[pulumi.Input[int]] = None,
|
|
392
|
+
account_name_prefix: Optional[pulumi.Input[str]] = None,
|
|
393
|
+
baseline_id: Optional[pulumi.Input[str]] = None,
|
|
394
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
|
395
|
+
folder_id: Optional[pulumi.Input[str]] = None,
|
|
396
|
+
payer_account_id: Optional[pulumi.Input[int]] = None,
|
|
397
|
+
status: Optional[pulumi.Input[str]] = None) -> 'Account':
|
|
398
|
+
"""
|
|
399
|
+
Get an existing Account resource's state with the given name, id, and optional extra
|
|
400
|
+
properties used to qualify the lookup.
|
|
401
|
+
|
|
402
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
403
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
404
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
405
|
+
:param pulumi.Input[int] account_id: The ID of the enrolled account.
|
|
406
|
+
- If you are creating a new resource account, this parameter is not required.
|
|
407
|
+
- If you are enrolling a existing account to account factory, this parameter is required.
|
|
408
|
+
:param pulumi.Input[str] account_name_prefix: Account name prefix.
|
|
409
|
+
- This parameter is required if you are creating a new resource account.
|
|
410
|
+
- If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
411
|
+
:param pulumi.Input[str] baseline_id: The baseline ID.
|
|
412
|
+
|
|
413
|
+
If it is left blank, the system default baseline is used by default.
|
|
414
|
+
:param pulumi.Input[str] display_name: The account display name.
|
|
415
|
+
- This parameter is required if you are creating a new resource account.
|
|
416
|
+
- If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
417
|
+
:param pulumi.Input[str] folder_id: The ID of the parent resource folder.
|
|
418
|
+
|
|
419
|
+
If you want to create a new resource account and leave this parameter blank, the account is created in the Root folder by default.
|
|
420
|
+
|
|
421
|
+
If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
422
|
+
:param pulumi.Input[int] payer_account_id: The ID of the billing account. If you leave this parameter empty, the current account is used as the billing account.
|
|
423
|
+
:param pulumi.Input[str] status: Account registration status. Value:
|
|
424
|
+
"""
|
|
425
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
426
|
+
|
|
427
|
+
__props__ = _AccountState.__new__(_AccountState)
|
|
428
|
+
|
|
429
|
+
__props__.__dict__["account_id"] = account_id
|
|
430
|
+
__props__.__dict__["account_name_prefix"] = account_name_prefix
|
|
431
|
+
__props__.__dict__["baseline_id"] = baseline_id
|
|
432
|
+
__props__.__dict__["display_name"] = display_name
|
|
433
|
+
__props__.__dict__["folder_id"] = folder_id
|
|
434
|
+
__props__.__dict__["payer_account_id"] = payer_account_id
|
|
435
|
+
__props__.__dict__["status"] = status
|
|
436
|
+
return Account(resource_name, opts=opts, __props__=__props__)
|
|
437
|
+
|
|
438
|
+
@property
|
|
439
|
+
@pulumi.getter(name="accountId")
|
|
440
|
+
def account_id(self) -> pulumi.Output[int]:
|
|
441
|
+
"""
|
|
442
|
+
The ID of the enrolled account.
|
|
443
|
+
- If you are creating a new resource account, this parameter is not required.
|
|
444
|
+
- If you are enrolling a existing account to account factory, this parameter is required.
|
|
445
|
+
"""
|
|
446
|
+
return pulumi.get(self, "account_id")
|
|
447
|
+
|
|
448
|
+
@property
|
|
449
|
+
@pulumi.getter(name="accountNamePrefix")
|
|
450
|
+
def account_name_prefix(self) -> pulumi.Output[Optional[str]]:
|
|
451
|
+
"""
|
|
452
|
+
Account name prefix.
|
|
453
|
+
- This parameter is required if you are creating a new resource account.
|
|
454
|
+
- If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
455
|
+
"""
|
|
456
|
+
return pulumi.get(self, "account_name_prefix")
|
|
457
|
+
|
|
458
|
+
@property
|
|
459
|
+
@pulumi.getter(name="baselineId")
|
|
460
|
+
def baseline_id(self) -> pulumi.Output[str]:
|
|
461
|
+
"""
|
|
462
|
+
The baseline ID.
|
|
463
|
+
|
|
464
|
+
If it is left blank, the system default baseline is used by default.
|
|
465
|
+
"""
|
|
466
|
+
return pulumi.get(self, "baseline_id")
|
|
467
|
+
|
|
468
|
+
@property
|
|
469
|
+
@pulumi.getter(name="displayName")
|
|
470
|
+
def display_name(self) -> pulumi.Output[Optional[str]]:
|
|
471
|
+
"""
|
|
472
|
+
The account display name.
|
|
473
|
+
- This parameter is required if you are creating a new resource account.
|
|
474
|
+
- If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
475
|
+
"""
|
|
476
|
+
return pulumi.get(self, "display_name")
|
|
477
|
+
|
|
478
|
+
@property
|
|
479
|
+
@pulumi.getter(name="folderId")
|
|
480
|
+
def folder_id(self) -> pulumi.Output[Optional[str]]:
|
|
481
|
+
"""
|
|
482
|
+
The ID of the parent resource folder.
|
|
483
|
+
|
|
484
|
+
If you want to create a new resource account and leave this parameter blank, the account is created in the Root folder by default.
|
|
485
|
+
|
|
486
|
+
If the registration application is applied to an existing account, this parameter does not need to be filled in.
|
|
487
|
+
"""
|
|
488
|
+
return pulumi.get(self, "folder_id")
|
|
489
|
+
|
|
490
|
+
@property
|
|
491
|
+
@pulumi.getter(name="payerAccountId")
|
|
492
|
+
def payer_account_id(self) -> pulumi.Output[Optional[int]]:
|
|
493
|
+
"""
|
|
494
|
+
The ID of the billing account. If you leave this parameter empty, the current account is used as the billing account.
|
|
495
|
+
"""
|
|
496
|
+
return pulumi.get(self, "payer_account_id")
|
|
497
|
+
|
|
498
|
+
@property
|
|
499
|
+
@pulumi.getter
|
|
500
|
+
def status(self) -> pulumi.Output[str]:
|
|
501
|
+
"""
|
|
502
|
+
Account registration status. Value:
|
|
503
|
+
"""
|
|
504
|
+
return pulumi.get(self, "status")
|
|
505
|
+
|