pulumiverse-scaleway 1.23.0a1736837529__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 pulumiverse-scaleway might be problematic. Click here for more details.
- pulumiverse_scaleway/__init__.py +1065 -0
- pulumiverse_scaleway/_inputs.py +8688 -0
- pulumiverse_scaleway/_utilities.py +327 -0
- pulumiverse_scaleway/account_project.py +316 -0
- pulumiverse_scaleway/account_ssh_key.py +454 -0
- pulumiverse_scaleway/apple_silicon_server.py +564 -0
- pulumiverse_scaleway/baremetal_server.py +1579 -0
- pulumiverse_scaleway/block_snapshot.py +401 -0
- pulumiverse_scaleway/block_volume.py +527 -0
- pulumiverse_scaleway/cockpit.py +314 -0
- pulumiverse_scaleway/cockpit_alert_manager.py +401 -0
- pulumiverse_scaleway/cockpit_grafana_user.py +362 -0
- pulumiverse_scaleway/cockpit_source.py +567 -0
- pulumiverse_scaleway/cockpit_token.py +479 -0
- pulumiverse_scaleway/config/__init__.py +8 -0
- pulumiverse_scaleway/config/__init__.pyi +56 -0
- pulumiverse_scaleway/config/vars.py +78 -0
- pulumiverse_scaleway/container.py +1373 -0
- pulumiverse_scaleway/container_cron.py +458 -0
- pulumiverse_scaleway/container_domain.py +406 -0
- pulumiverse_scaleway/container_namespace.py +636 -0
- pulumiverse_scaleway/container_token.py +452 -0
- pulumiverse_scaleway/container_trigger.py +480 -0
- pulumiverse_scaleway/database.py +407 -0
- pulumiverse_scaleway/database_acl.py +332 -0
- pulumiverse_scaleway/database_backup.py +574 -0
- pulumiverse_scaleway/database_instance.py +1641 -0
- pulumiverse_scaleway/database_privilege.py +422 -0
- pulumiverse_scaleway/database_read_replica.py +528 -0
- pulumiverse_scaleway/database_user.py +446 -0
- pulumiverse_scaleway/domain_record.py +1116 -0
- pulumiverse_scaleway/domain_zone.py +430 -0
- pulumiverse_scaleway/flexible_ip.py +702 -0
- pulumiverse_scaleway/flexible_ip_mac_address.py +510 -0
- pulumiverse_scaleway/function.py +1103 -0
- pulumiverse_scaleway/function_cron.py +462 -0
- pulumiverse_scaleway/function_domain.py +370 -0
- pulumiverse_scaleway/function_namespace.py +580 -0
- pulumiverse_scaleway/function_token.py +460 -0
- pulumiverse_scaleway/function_trigger.py +480 -0
- pulumiverse_scaleway/get_account_project.py +170 -0
- pulumiverse_scaleway/get_account_ssh_key.py +205 -0
- pulumiverse_scaleway/get_availability_zones.py +139 -0
- pulumiverse_scaleway/get_baremetal_offer.py +245 -0
- pulumiverse_scaleway/get_baremetal_option.py +168 -0
- pulumiverse_scaleway/get_baremetal_os.py +174 -0
- pulumiverse_scaleway/get_baremetal_server.py +422 -0
- pulumiverse_scaleway/get_billing_consumptions.py +134 -0
- pulumiverse_scaleway/get_billing_invoices.py +154 -0
- pulumiverse_scaleway/get_block_snapshot.py +174 -0
- pulumiverse_scaleway/get_block_volume.py +188 -0
- pulumiverse_scaleway/get_cockpit.py +204 -0
- pulumiverse_scaleway/get_cockpit_plan.py +125 -0
- pulumiverse_scaleway/get_cockpit_source.py +262 -0
- pulumiverse_scaleway/get_config.py +180 -0
- pulumiverse_scaleway/get_container.py +522 -0
- pulumiverse_scaleway/get_container_namespace.py +283 -0
- pulumiverse_scaleway/get_database.py +187 -0
- pulumiverse_scaleway/get_database_acl.py +143 -0
- pulumiverse_scaleway/get_database_backup.py +253 -0
- pulumiverse_scaleway/get_database_instance.py +404 -0
- pulumiverse_scaleway/get_database_privilege.py +181 -0
- pulumiverse_scaleway/get_domain_record.py +340 -0
- pulumiverse_scaleway/get_domain_zone.py +201 -0
- pulumiverse_scaleway/get_flexible_ip.py +247 -0
- pulumiverse_scaleway/get_flexible_ips.py +240 -0
- pulumiverse_scaleway/get_function.py +365 -0
- pulumiverse_scaleway/get_function_namespace.py +238 -0
- pulumiverse_scaleway/get_iam_api_key.py +210 -0
- pulumiverse_scaleway/get_iam_application.py +210 -0
- pulumiverse_scaleway/get_iam_group.py +236 -0
- pulumiverse_scaleway/get_iam_ssh_key.py +212 -0
- pulumiverse_scaleway/get_iam_user.py +177 -0
- pulumiverse_scaleway/get_instance_image.py +305 -0
- pulumiverse_scaleway/get_instance_ip.py +204 -0
- pulumiverse_scaleway/get_instance_placement_group.py +212 -0
- pulumiverse_scaleway/get_instance_private_nic.py +226 -0
- pulumiverse_scaleway/get_instance_security_group.py +268 -0
- pulumiverse_scaleway/get_instance_server.py +502 -0
- pulumiverse_scaleway/get_instance_servers.py +187 -0
- pulumiverse_scaleway/get_instance_snapshot.py +248 -0
- pulumiverse_scaleway/get_instance_volume.py +215 -0
- pulumiverse_scaleway/get_iot_device.py +257 -0
- pulumiverse_scaleway/get_iot_hub.py +322 -0
- pulumiverse_scaleway/get_ipam_ip.py +419 -0
- pulumiverse_scaleway/get_ipam_ips.py +358 -0
- pulumiverse_scaleway/get_k8s_version.py +196 -0
- pulumiverse_scaleway/get_kubernetes_cluster.py +417 -0
- pulumiverse_scaleway/get_kubernetes_node_pool.py +436 -0
- pulumiverse_scaleway/get_lb_acls.py +198 -0
- pulumiverse_scaleway/get_lb_backend.py +486 -0
- pulumiverse_scaleway/get_lb_backends.py +196 -0
- pulumiverse_scaleway/get_lb_frontend.py +274 -0
- pulumiverse_scaleway/get_lb_frontends.py +196 -0
- pulumiverse_scaleway/get_lb_ips.py +198 -0
- pulumiverse_scaleway/get_lb_route.py +217 -0
- pulumiverse_scaleway/get_lb_routes.py +179 -0
- pulumiverse_scaleway/get_lbs.py +187 -0
- pulumiverse_scaleway/get_loadbalancer.py +339 -0
- pulumiverse_scaleway/get_loadbalancer_certificate.py +230 -0
- pulumiverse_scaleway/get_loadbalancer_ip.py +228 -0
- pulumiverse_scaleway/get_marketplace_image.py +147 -0
- pulumiverse_scaleway/get_mnq_sns.py +150 -0
- pulumiverse_scaleway/get_mnq_sqs.py +150 -0
- pulumiverse_scaleway/get_mongo_db_instance.py +324 -0
- pulumiverse_scaleway/get_object_bucket.py +290 -0
- pulumiverse_scaleway/get_object_bucket_policy.py +163 -0
- pulumiverse_scaleway/get_redis_cluster.py +347 -0
- pulumiverse_scaleway/get_registry_image.py +239 -0
- pulumiverse_scaleway/get_registry_image_tag.py +229 -0
- pulumiverse_scaleway/get_registry_namespace.py +199 -0
- pulumiverse_scaleway/get_secret.py +338 -0
- pulumiverse_scaleway/get_secret_version.py +340 -0
- pulumiverse_scaleway/get_tem_domain.py +378 -0
- pulumiverse_scaleway/get_vpc.py +246 -0
- pulumiverse_scaleway/get_vpc_gateway_network.py +287 -0
- pulumiverse_scaleway/get_vpc_private_network.py +282 -0
- pulumiverse_scaleway/get_vpc_public_gateway.py +304 -0
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +305 -0
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +382 -0
- pulumiverse_scaleway/get_vpc_public_gateway_ip.py +199 -0
- pulumiverse_scaleway/get_vpc_public_pat_rule.py +313 -0
- pulumiverse_scaleway/get_vpc_routes.py +208 -0
- pulumiverse_scaleway/get_vpcs.py +174 -0
- pulumiverse_scaleway/get_web_host_offer.py +192 -0
- pulumiverse_scaleway/get_webhosting.py +332 -0
- pulumiverse_scaleway/iam_api_key.py +620 -0
- pulumiverse_scaleway/iam_application.py +417 -0
- pulumiverse_scaleway/iam_group.py +566 -0
- pulumiverse_scaleway/iam_group_membership.py +323 -0
- pulumiverse_scaleway/iam_policy.py +773 -0
- pulumiverse_scaleway/iam_ssh_key.py +455 -0
- pulumiverse_scaleway/iam_user.py +513 -0
- pulumiverse_scaleway/inference_deployment.py +822 -0
- pulumiverse_scaleway/instance_image.py +750 -0
- pulumiverse_scaleway/instance_ip.py +483 -0
- pulumiverse_scaleway/instance_ip_reverse_dns.py +308 -0
- pulumiverse_scaleway/instance_placement_group.py +479 -0
- pulumiverse_scaleway/instance_private_nic.py +555 -0
- pulumiverse_scaleway/instance_security_group.py +720 -0
- pulumiverse_scaleway/instance_security_group_rules.py +439 -0
- pulumiverse_scaleway/instance_server.py +2006 -0
- pulumiverse_scaleway/instance_snapshot.py +669 -0
- pulumiverse_scaleway/instance_user_data.py +435 -0
- pulumiverse_scaleway/instance_volume.py +535 -0
- pulumiverse_scaleway/iot_device.py +750 -0
- pulumiverse_scaleway/iot_hub.py +896 -0
- pulumiverse_scaleway/iot_network.py +472 -0
- pulumiverse_scaleway/iot_route.py +660 -0
- pulumiverse_scaleway/ipam_ip.py +757 -0
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +318 -0
- pulumiverse_scaleway/job_definition.py +692 -0
- pulumiverse_scaleway/kubernetes_cluster.py +1538 -0
- pulumiverse_scaleway/kubernetes_node_pool.py +1255 -0
- pulumiverse_scaleway/loadbalancer.py +1061 -0
- pulumiverse_scaleway/loadbalancer_acl.py +520 -0
- pulumiverse_scaleway/loadbalancer_backend.py +1588 -0
- pulumiverse_scaleway/loadbalancer_certificate.py +460 -0
- pulumiverse_scaleway/loadbalancer_frontend.py +829 -0
- pulumiverse_scaleway/loadbalancer_ip.py +514 -0
- pulumiverse_scaleway/loadbalancer_route.py +523 -0
- pulumiverse_scaleway/mnq_nats_account.py +334 -0
- pulumiverse_scaleway/mnq_nats_credentials.py +330 -0
- pulumiverse_scaleway/mnq_sns.py +306 -0
- pulumiverse_scaleway/mnq_sns_credentials.py +413 -0
- pulumiverse_scaleway/mnq_sns_topic.py +659 -0
- pulumiverse_scaleway/mnq_sns_topic_subscription.py +699 -0
- pulumiverse_scaleway/mnq_sqs.py +304 -0
- pulumiverse_scaleway/mnq_sqs_credentials.py +413 -0
- pulumiverse_scaleway/mnq_sqs_queue.py +800 -0
- pulumiverse_scaleway/mongo_db_instance.py +907 -0
- pulumiverse_scaleway/mongo_db_snapshot.py +521 -0
- pulumiverse_scaleway/object_bucket.py +874 -0
- pulumiverse_scaleway/object_bucket_acl.py +596 -0
- pulumiverse_scaleway/object_bucket_lock_configuration.py +395 -0
- pulumiverse_scaleway/object_bucket_policy.py +673 -0
- pulumiverse_scaleway/object_bucket_website_configuration.py +534 -0
- pulumiverse_scaleway/object_item.py +776 -0
- pulumiverse_scaleway/outputs.py +11808 -0
- pulumiverse_scaleway/provider.py +327 -0
- pulumiverse_scaleway/pulumi-plugin.json +6 -0
- pulumiverse_scaleway/py.typed +0 -0
- pulumiverse_scaleway/redis_cluster.py +1201 -0
- pulumiverse_scaleway/registry_namespace.py +458 -0
- pulumiverse_scaleway/sdb_database.py +432 -0
- pulumiverse_scaleway/secret.py +663 -0
- pulumiverse_scaleway/secret_version.py +487 -0
- pulumiverse_scaleway/tem_domain.py +1030 -0
- pulumiverse_scaleway/tem_domain_validation.py +303 -0
- pulumiverse_scaleway/tem_webhook.py +640 -0
- pulumiverse_scaleway/vpc.py +536 -0
- pulumiverse_scaleway/vpc_gateway_network.py +866 -0
- pulumiverse_scaleway/vpc_private_network.py +734 -0
- pulumiverse_scaleway/vpc_public_gateway.py +789 -0
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +933 -0
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +514 -0
- pulumiverse_scaleway/vpc_public_gateway_ip.py +457 -0
- pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +306 -0
- pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +591 -0
- pulumiverse_scaleway/vpc_route.py +577 -0
- pulumiverse_scaleway/webhosting.py +805 -0
- pulumiverse_scaleway-1.23.0a1736837529.dist-info/METADATA +77 -0
- pulumiverse_scaleway-1.23.0a1736837529.dist-info/RECORD +205 -0
- pulumiverse_scaleway-1.23.0a1736837529.dist-info/WHEEL +5 -0
- pulumiverse_scaleway-1.23.0a1736837529.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,513 @@
|
|
|
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
|
+
|
|
17
|
+
__all__ = ['IamUserArgs', 'IamUser']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class IamUserArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
email: pulumi.Input[str],
|
|
23
|
+
organization_id: Optional[pulumi.Input[str]] = None,
|
|
24
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
25
|
+
"""
|
|
26
|
+
The set of arguments for constructing a IamUser resource.
|
|
27
|
+
:param pulumi.Input[str] email: The email of the IAM user.
|
|
28
|
+
:param pulumi.Input[str] organization_id: `organization_id`) The ID of the organization the user is associated with.
|
|
29
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the user.
|
|
30
|
+
"""
|
|
31
|
+
pulumi.set(__self__, "email", email)
|
|
32
|
+
if organization_id is not None:
|
|
33
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
34
|
+
if tags is not None:
|
|
35
|
+
pulumi.set(__self__, "tags", tags)
|
|
36
|
+
|
|
37
|
+
@property
|
|
38
|
+
@pulumi.getter
|
|
39
|
+
def email(self) -> pulumi.Input[str]:
|
|
40
|
+
"""
|
|
41
|
+
The email of the IAM user.
|
|
42
|
+
"""
|
|
43
|
+
return pulumi.get(self, "email")
|
|
44
|
+
|
|
45
|
+
@email.setter
|
|
46
|
+
def email(self, value: pulumi.Input[str]):
|
|
47
|
+
pulumi.set(self, "email", value)
|
|
48
|
+
|
|
49
|
+
@property
|
|
50
|
+
@pulumi.getter(name="organizationId")
|
|
51
|
+
def organization_id(self) -> Optional[pulumi.Input[str]]:
|
|
52
|
+
"""
|
|
53
|
+
`organization_id`) The ID of the organization the user is associated with.
|
|
54
|
+
"""
|
|
55
|
+
return pulumi.get(self, "organization_id")
|
|
56
|
+
|
|
57
|
+
@organization_id.setter
|
|
58
|
+
def organization_id(self, value: Optional[pulumi.Input[str]]):
|
|
59
|
+
pulumi.set(self, "organization_id", value)
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
@pulumi.getter
|
|
63
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
64
|
+
"""
|
|
65
|
+
The tags associated with the user.
|
|
66
|
+
"""
|
|
67
|
+
return pulumi.get(self, "tags")
|
|
68
|
+
|
|
69
|
+
@tags.setter
|
|
70
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
71
|
+
pulumi.set(self, "tags", value)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
@pulumi.input_type
|
|
75
|
+
class _IamUserState:
|
|
76
|
+
def __init__(__self__, *,
|
|
77
|
+
account_root_user_id: Optional[pulumi.Input[str]] = None,
|
|
78
|
+
created_at: Optional[pulumi.Input[str]] = None,
|
|
79
|
+
deletable: Optional[pulumi.Input[bool]] = None,
|
|
80
|
+
email: Optional[pulumi.Input[str]] = None,
|
|
81
|
+
last_login_at: Optional[pulumi.Input[str]] = None,
|
|
82
|
+
mfa: Optional[pulumi.Input[bool]] = None,
|
|
83
|
+
organization_id: Optional[pulumi.Input[str]] = None,
|
|
84
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
85
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
86
|
+
type: Optional[pulumi.Input[str]] = None,
|
|
87
|
+
updated_at: Optional[pulumi.Input[str]] = None):
|
|
88
|
+
"""
|
|
89
|
+
Input properties used for looking up and filtering IamUser resources.
|
|
90
|
+
:param pulumi.Input[str] account_root_user_id: The ID of the account root user associated with the user.
|
|
91
|
+
:param pulumi.Input[str] created_at: The date and time of the creation of the IAM user.
|
|
92
|
+
:param pulumi.Input[bool] deletable: Whether the IAM user is deletable.
|
|
93
|
+
:param pulumi.Input[str] email: The email of the IAM user.
|
|
94
|
+
:param pulumi.Input[str] last_login_at: The date of the last login.
|
|
95
|
+
:param pulumi.Input[bool] mfa: Whether the MFA is enabled.
|
|
96
|
+
:param pulumi.Input[str] organization_id: `organization_id`) The ID of the organization the user is associated with.
|
|
97
|
+
:param pulumi.Input[str] status: The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).
|
|
98
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the user.
|
|
99
|
+
:param pulumi.Input[str] type: The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).
|
|
100
|
+
:param pulumi.Input[str] updated_at: The date and time of the last update of the IAM user.
|
|
101
|
+
"""
|
|
102
|
+
if account_root_user_id is not None:
|
|
103
|
+
pulumi.set(__self__, "account_root_user_id", account_root_user_id)
|
|
104
|
+
if created_at is not None:
|
|
105
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
106
|
+
if deletable is not None:
|
|
107
|
+
pulumi.set(__self__, "deletable", deletable)
|
|
108
|
+
if email is not None:
|
|
109
|
+
pulumi.set(__self__, "email", email)
|
|
110
|
+
if last_login_at is not None:
|
|
111
|
+
pulumi.set(__self__, "last_login_at", last_login_at)
|
|
112
|
+
if mfa is not None:
|
|
113
|
+
pulumi.set(__self__, "mfa", mfa)
|
|
114
|
+
if organization_id is not None:
|
|
115
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
116
|
+
if status is not None:
|
|
117
|
+
pulumi.set(__self__, "status", status)
|
|
118
|
+
if tags is not None:
|
|
119
|
+
pulumi.set(__self__, "tags", tags)
|
|
120
|
+
if type is not None:
|
|
121
|
+
pulumi.set(__self__, "type", type)
|
|
122
|
+
if updated_at is not None:
|
|
123
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
@pulumi.getter(name="accountRootUserId")
|
|
127
|
+
def account_root_user_id(self) -> Optional[pulumi.Input[str]]:
|
|
128
|
+
"""
|
|
129
|
+
The ID of the account root user associated with the user.
|
|
130
|
+
"""
|
|
131
|
+
return pulumi.get(self, "account_root_user_id")
|
|
132
|
+
|
|
133
|
+
@account_root_user_id.setter
|
|
134
|
+
def account_root_user_id(self, value: Optional[pulumi.Input[str]]):
|
|
135
|
+
pulumi.set(self, "account_root_user_id", value)
|
|
136
|
+
|
|
137
|
+
@property
|
|
138
|
+
@pulumi.getter(name="createdAt")
|
|
139
|
+
def created_at(self) -> Optional[pulumi.Input[str]]:
|
|
140
|
+
"""
|
|
141
|
+
The date and time of the creation of the IAM user.
|
|
142
|
+
"""
|
|
143
|
+
return pulumi.get(self, "created_at")
|
|
144
|
+
|
|
145
|
+
@created_at.setter
|
|
146
|
+
def created_at(self, value: Optional[pulumi.Input[str]]):
|
|
147
|
+
pulumi.set(self, "created_at", value)
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
@pulumi.getter
|
|
151
|
+
def deletable(self) -> Optional[pulumi.Input[bool]]:
|
|
152
|
+
"""
|
|
153
|
+
Whether the IAM user is deletable.
|
|
154
|
+
"""
|
|
155
|
+
return pulumi.get(self, "deletable")
|
|
156
|
+
|
|
157
|
+
@deletable.setter
|
|
158
|
+
def deletable(self, value: Optional[pulumi.Input[bool]]):
|
|
159
|
+
pulumi.set(self, "deletable", value)
|
|
160
|
+
|
|
161
|
+
@property
|
|
162
|
+
@pulumi.getter
|
|
163
|
+
def email(self) -> Optional[pulumi.Input[str]]:
|
|
164
|
+
"""
|
|
165
|
+
The email of the IAM user.
|
|
166
|
+
"""
|
|
167
|
+
return pulumi.get(self, "email")
|
|
168
|
+
|
|
169
|
+
@email.setter
|
|
170
|
+
def email(self, value: Optional[pulumi.Input[str]]):
|
|
171
|
+
pulumi.set(self, "email", value)
|
|
172
|
+
|
|
173
|
+
@property
|
|
174
|
+
@pulumi.getter(name="lastLoginAt")
|
|
175
|
+
def last_login_at(self) -> Optional[pulumi.Input[str]]:
|
|
176
|
+
"""
|
|
177
|
+
The date of the last login.
|
|
178
|
+
"""
|
|
179
|
+
return pulumi.get(self, "last_login_at")
|
|
180
|
+
|
|
181
|
+
@last_login_at.setter
|
|
182
|
+
def last_login_at(self, value: Optional[pulumi.Input[str]]):
|
|
183
|
+
pulumi.set(self, "last_login_at", value)
|
|
184
|
+
|
|
185
|
+
@property
|
|
186
|
+
@pulumi.getter
|
|
187
|
+
def mfa(self) -> Optional[pulumi.Input[bool]]:
|
|
188
|
+
"""
|
|
189
|
+
Whether the MFA is enabled.
|
|
190
|
+
"""
|
|
191
|
+
return pulumi.get(self, "mfa")
|
|
192
|
+
|
|
193
|
+
@mfa.setter
|
|
194
|
+
def mfa(self, value: Optional[pulumi.Input[bool]]):
|
|
195
|
+
pulumi.set(self, "mfa", value)
|
|
196
|
+
|
|
197
|
+
@property
|
|
198
|
+
@pulumi.getter(name="organizationId")
|
|
199
|
+
def organization_id(self) -> Optional[pulumi.Input[str]]:
|
|
200
|
+
"""
|
|
201
|
+
`organization_id`) The ID of the organization the user is associated with.
|
|
202
|
+
"""
|
|
203
|
+
return pulumi.get(self, "organization_id")
|
|
204
|
+
|
|
205
|
+
@organization_id.setter
|
|
206
|
+
def organization_id(self, value: Optional[pulumi.Input[str]]):
|
|
207
|
+
pulumi.set(self, "organization_id", value)
|
|
208
|
+
|
|
209
|
+
@property
|
|
210
|
+
@pulumi.getter
|
|
211
|
+
def status(self) -> Optional[pulumi.Input[str]]:
|
|
212
|
+
"""
|
|
213
|
+
The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).
|
|
214
|
+
"""
|
|
215
|
+
return pulumi.get(self, "status")
|
|
216
|
+
|
|
217
|
+
@status.setter
|
|
218
|
+
def status(self, value: Optional[pulumi.Input[str]]):
|
|
219
|
+
pulumi.set(self, "status", value)
|
|
220
|
+
|
|
221
|
+
@property
|
|
222
|
+
@pulumi.getter
|
|
223
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
224
|
+
"""
|
|
225
|
+
The tags associated with the user.
|
|
226
|
+
"""
|
|
227
|
+
return pulumi.get(self, "tags")
|
|
228
|
+
|
|
229
|
+
@tags.setter
|
|
230
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
231
|
+
pulumi.set(self, "tags", value)
|
|
232
|
+
|
|
233
|
+
@property
|
|
234
|
+
@pulumi.getter
|
|
235
|
+
def type(self) -> Optional[pulumi.Input[str]]:
|
|
236
|
+
"""
|
|
237
|
+
The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).
|
|
238
|
+
"""
|
|
239
|
+
return pulumi.get(self, "type")
|
|
240
|
+
|
|
241
|
+
@type.setter
|
|
242
|
+
def type(self, value: Optional[pulumi.Input[str]]):
|
|
243
|
+
pulumi.set(self, "type", value)
|
|
244
|
+
|
|
245
|
+
@property
|
|
246
|
+
@pulumi.getter(name="updatedAt")
|
|
247
|
+
def updated_at(self) -> Optional[pulumi.Input[str]]:
|
|
248
|
+
"""
|
|
249
|
+
The date and time of the last update of the IAM user.
|
|
250
|
+
"""
|
|
251
|
+
return pulumi.get(self, "updated_at")
|
|
252
|
+
|
|
253
|
+
@updated_at.setter
|
|
254
|
+
def updated_at(self, value: Optional[pulumi.Input[str]]):
|
|
255
|
+
pulumi.set(self, "updated_at", value)
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
class IamUser(pulumi.CustomResource):
|
|
259
|
+
@overload
|
|
260
|
+
def __init__(__self__,
|
|
261
|
+
resource_name: str,
|
|
262
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
263
|
+
email: Optional[pulumi.Input[str]] = None,
|
|
264
|
+
organization_id: Optional[pulumi.Input[str]] = None,
|
|
265
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
266
|
+
__props__=None):
|
|
267
|
+
"""
|
|
268
|
+
Creates and manages Scaleway IAM Users.
|
|
269
|
+
For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#path-users-list-users-of-an-organization).
|
|
270
|
+
|
|
271
|
+
## Example Usage
|
|
272
|
+
|
|
273
|
+
### Basic
|
|
274
|
+
|
|
275
|
+
```python
|
|
276
|
+
import pulumi
|
|
277
|
+
import pulumiverse_scaleway as scaleway
|
|
278
|
+
|
|
279
|
+
basic = scaleway.IamUser("basic", email="test@test.com")
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
## Import
|
|
283
|
+
|
|
284
|
+
IAM users can be imported using the `{id}`, e.g.
|
|
285
|
+
|
|
286
|
+
bash
|
|
287
|
+
|
|
288
|
+
```sh
|
|
289
|
+
$ pulumi import scaleway:index/iamUser:IamUser basic 11111111-1111-1111-1111-111111111111
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
:param str resource_name: The name of the resource.
|
|
293
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
294
|
+
:param pulumi.Input[str] email: The email of the IAM user.
|
|
295
|
+
:param pulumi.Input[str] organization_id: `organization_id`) The ID of the organization the user is associated with.
|
|
296
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the user.
|
|
297
|
+
"""
|
|
298
|
+
...
|
|
299
|
+
@overload
|
|
300
|
+
def __init__(__self__,
|
|
301
|
+
resource_name: str,
|
|
302
|
+
args: IamUserArgs,
|
|
303
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
304
|
+
"""
|
|
305
|
+
Creates and manages Scaleway IAM Users.
|
|
306
|
+
For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#path-users-list-users-of-an-organization).
|
|
307
|
+
|
|
308
|
+
## Example Usage
|
|
309
|
+
|
|
310
|
+
### Basic
|
|
311
|
+
|
|
312
|
+
```python
|
|
313
|
+
import pulumi
|
|
314
|
+
import pulumiverse_scaleway as scaleway
|
|
315
|
+
|
|
316
|
+
basic = scaleway.IamUser("basic", email="test@test.com")
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
## Import
|
|
320
|
+
|
|
321
|
+
IAM users can be imported using the `{id}`, e.g.
|
|
322
|
+
|
|
323
|
+
bash
|
|
324
|
+
|
|
325
|
+
```sh
|
|
326
|
+
$ pulumi import scaleway:index/iamUser:IamUser basic 11111111-1111-1111-1111-111111111111
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
:param str resource_name: The name of the resource.
|
|
330
|
+
:param IamUserArgs args: The arguments to use to populate this resource's properties.
|
|
331
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
332
|
+
"""
|
|
333
|
+
...
|
|
334
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
335
|
+
resource_args, opts = _utilities.get_resource_args_opts(IamUserArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
336
|
+
if resource_args is not None:
|
|
337
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
338
|
+
else:
|
|
339
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
340
|
+
|
|
341
|
+
def _internal_init(__self__,
|
|
342
|
+
resource_name: str,
|
|
343
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
344
|
+
email: Optional[pulumi.Input[str]] = None,
|
|
345
|
+
organization_id: Optional[pulumi.Input[str]] = None,
|
|
346
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
347
|
+
__props__=None):
|
|
348
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
349
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
350
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
351
|
+
if opts.id is None:
|
|
352
|
+
if __props__ is not None:
|
|
353
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
354
|
+
__props__ = IamUserArgs.__new__(IamUserArgs)
|
|
355
|
+
|
|
356
|
+
if email is None and not opts.urn:
|
|
357
|
+
raise TypeError("Missing required property 'email'")
|
|
358
|
+
__props__.__dict__["email"] = email
|
|
359
|
+
__props__.__dict__["organization_id"] = organization_id
|
|
360
|
+
__props__.__dict__["tags"] = tags
|
|
361
|
+
__props__.__dict__["account_root_user_id"] = None
|
|
362
|
+
__props__.__dict__["created_at"] = None
|
|
363
|
+
__props__.__dict__["deletable"] = None
|
|
364
|
+
__props__.__dict__["last_login_at"] = None
|
|
365
|
+
__props__.__dict__["mfa"] = None
|
|
366
|
+
__props__.__dict__["status"] = None
|
|
367
|
+
__props__.__dict__["type"] = None
|
|
368
|
+
__props__.__dict__["updated_at"] = None
|
|
369
|
+
super(IamUser, __self__).__init__(
|
|
370
|
+
'scaleway:index/iamUser:IamUser',
|
|
371
|
+
resource_name,
|
|
372
|
+
__props__,
|
|
373
|
+
opts)
|
|
374
|
+
|
|
375
|
+
@staticmethod
|
|
376
|
+
def get(resource_name: str,
|
|
377
|
+
id: pulumi.Input[str],
|
|
378
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
379
|
+
account_root_user_id: Optional[pulumi.Input[str]] = None,
|
|
380
|
+
created_at: Optional[pulumi.Input[str]] = None,
|
|
381
|
+
deletable: Optional[pulumi.Input[bool]] = None,
|
|
382
|
+
email: Optional[pulumi.Input[str]] = None,
|
|
383
|
+
last_login_at: Optional[pulumi.Input[str]] = None,
|
|
384
|
+
mfa: Optional[pulumi.Input[bool]] = None,
|
|
385
|
+
organization_id: Optional[pulumi.Input[str]] = None,
|
|
386
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
387
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
388
|
+
type: Optional[pulumi.Input[str]] = None,
|
|
389
|
+
updated_at: Optional[pulumi.Input[str]] = None) -> 'IamUser':
|
|
390
|
+
"""
|
|
391
|
+
Get an existing IamUser resource's state with the given name, id, and optional extra
|
|
392
|
+
properties used to qualify the lookup.
|
|
393
|
+
|
|
394
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
395
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
396
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
397
|
+
:param pulumi.Input[str] account_root_user_id: The ID of the account root user associated with the user.
|
|
398
|
+
:param pulumi.Input[str] created_at: The date and time of the creation of the IAM user.
|
|
399
|
+
:param pulumi.Input[bool] deletable: Whether the IAM user is deletable.
|
|
400
|
+
:param pulumi.Input[str] email: The email of the IAM user.
|
|
401
|
+
:param pulumi.Input[str] last_login_at: The date of the last login.
|
|
402
|
+
:param pulumi.Input[bool] mfa: Whether the MFA is enabled.
|
|
403
|
+
:param pulumi.Input[str] organization_id: `organization_id`) The ID of the organization the user is associated with.
|
|
404
|
+
:param pulumi.Input[str] status: The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).
|
|
405
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the user.
|
|
406
|
+
:param pulumi.Input[str] type: The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).
|
|
407
|
+
:param pulumi.Input[str] updated_at: The date and time of the last update of the IAM user.
|
|
408
|
+
"""
|
|
409
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
410
|
+
|
|
411
|
+
__props__ = _IamUserState.__new__(_IamUserState)
|
|
412
|
+
|
|
413
|
+
__props__.__dict__["account_root_user_id"] = account_root_user_id
|
|
414
|
+
__props__.__dict__["created_at"] = created_at
|
|
415
|
+
__props__.__dict__["deletable"] = deletable
|
|
416
|
+
__props__.__dict__["email"] = email
|
|
417
|
+
__props__.__dict__["last_login_at"] = last_login_at
|
|
418
|
+
__props__.__dict__["mfa"] = mfa
|
|
419
|
+
__props__.__dict__["organization_id"] = organization_id
|
|
420
|
+
__props__.__dict__["status"] = status
|
|
421
|
+
__props__.__dict__["tags"] = tags
|
|
422
|
+
__props__.__dict__["type"] = type
|
|
423
|
+
__props__.__dict__["updated_at"] = updated_at
|
|
424
|
+
return IamUser(resource_name, opts=opts, __props__=__props__)
|
|
425
|
+
|
|
426
|
+
@property
|
|
427
|
+
@pulumi.getter(name="accountRootUserId")
|
|
428
|
+
def account_root_user_id(self) -> pulumi.Output[str]:
|
|
429
|
+
"""
|
|
430
|
+
The ID of the account root user associated with the user.
|
|
431
|
+
"""
|
|
432
|
+
return pulumi.get(self, "account_root_user_id")
|
|
433
|
+
|
|
434
|
+
@property
|
|
435
|
+
@pulumi.getter(name="createdAt")
|
|
436
|
+
def created_at(self) -> pulumi.Output[str]:
|
|
437
|
+
"""
|
|
438
|
+
The date and time of the creation of the IAM user.
|
|
439
|
+
"""
|
|
440
|
+
return pulumi.get(self, "created_at")
|
|
441
|
+
|
|
442
|
+
@property
|
|
443
|
+
@pulumi.getter
|
|
444
|
+
def deletable(self) -> pulumi.Output[bool]:
|
|
445
|
+
"""
|
|
446
|
+
Whether the IAM user is deletable.
|
|
447
|
+
"""
|
|
448
|
+
return pulumi.get(self, "deletable")
|
|
449
|
+
|
|
450
|
+
@property
|
|
451
|
+
@pulumi.getter
|
|
452
|
+
def email(self) -> pulumi.Output[str]:
|
|
453
|
+
"""
|
|
454
|
+
The email of the IAM user.
|
|
455
|
+
"""
|
|
456
|
+
return pulumi.get(self, "email")
|
|
457
|
+
|
|
458
|
+
@property
|
|
459
|
+
@pulumi.getter(name="lastLoginAt")
|
|
460
|
+
def last_login_at(self) -> pulumi.Output[str]:
|
|
461
|
+
"""
|
|
462
|
+
The date of the last login.
|
|
463
|
+
"""
|
|
464
|
+
return pulumi.get(self, "last_login_at")
|
|
465
|
+
|
|
466
|
+
@property
|
|
467
|
+
@pulumi.getter
|
|
468
|
+
def mfa(self) -> pulumi.Output[bool]:
|
|
469
|
+
"""
|
|
470
|
+
Whether the MFA is enabled.
|
|
471
|
+
"""
|
|
472
|
+
return pulumi.get(self, "mfa")
|
|
473
|
+
|
|
474
|
+
@property
|
|
475
|
+
@pulumi.getter(name="organizationId")
|
|
476
|
+
def organization_id(self) -> pulumi.Output[str]:
|
|
477
|
+
"""
|
|
478
|
+
`organization_id`) The ID of the organization the user is associated with.
|
|
479
|
+
"""
|
|
480
|
+
return pulumi.get(self, "organization_id")
|
|
481
|
+
|
|
482
|
+
@property
|
|
483
|
+
@pulumi.getter
|
|
484
|
+
def status(self) -> pulumi.Output[str]:
|
|
485
|
+
"""
|
|
486
|
+
The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).
|
|
487
|
+
"""
|
|
488
|
+
return pulumi.get(self, "status")
|
|
489
|
+
|
|
490
|
+
@property
|
|
491
|
+
@pulumi.getter
|
|
492
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
493
|
+
"""
|
|
494
|
+
The tags associated with the user.
|
|
495
|
+
"""
|
|
496
|
+
return pulumi.get(self, "tags")
|
|
497
|
+
|
|
498
|
+
@property
|
|
499
|
+
@pulumi.getter
|
|
500
|
+
def type(self) -> pulumi.Output[str]:
|
|
501
|
+
"""
|
|
502
|
+
The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).
|
|
503
|
+
"""
|
|
504
|
+
return pulumi.get(self, "type")
|
|
505
|
+
|
|
506
|
+
@property
|
|
507
|
+
@pulumi.getter(name="updatedAt")
|
|
508
|
+
def updated_at(self) -> pulumi.Output[str]:
|
|
509
|
+
"""
|
|
510
|
+
The date and time of the last update of the IAM user.
|
|
511
|
+
"""
|
|
512
|
+
return pulumi.get(self, "updated_at")
|
|
513
|
+
|