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,334 @@
|
|
|
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__ = ['MnqNatsAccountArgs', 'MnqNatsAccount']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class MnqNatsAccountArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
23
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
24
|
+
region: Optional[pulumi.Input[str]] = None):
|
|
25
|
+
"""
|
|
26
|
+
The set of arguments for constructing a MnqNatsAccount resource.
|
|
27
|
+
:param pulumi.Input[str] name: The unique name of the NATS account.
|
|
28
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project the
|
|
29
|
+
account is associated with.
|
|
30
|
+
:param pulumi.Input[str] region: `region`). The region
|
|
31
|
+
in which the account should be created.
|
|
32
|
+
"""
|
|
33
|
+
if name is not None:
|
|
34
|
+
pulumi.set(__self__, "name", name)
|
|
35
|
+
if project_id is not None:
|
|
36
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
37
|
+
if region is not None:
|
|
38
|
+
pulumi.set(__self__, "region", region)
|
|
39
|
+
|
|
40
|
+
@property
|
|
41
|
+
@pulumi.getter
|
|
42
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
43
|
+
"""
|
|
44
|
+
The unique name of the NATS account.
|
|
45
|
+
"""
|
|
46
|
+
return pulumi.get(self, "name")
|
|
47
|
+
|
|
48
|
+
@name.setter
|
|
49
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
50
|
+
pulumi.set(self, "name", value)
|
|
51
|
+
|
|
52
|
+
@property
|
|
53
|
+
@pulumi.getter(name="projectId")
|
|
54
|
+
def project_id(self) -> Optional[pulumi.Input[str]]:
|
|
55
|
+
"""
|
|
56
|
+
`project_id`) The ID of the Project the
|
|
57
|
+
account is associated with.
|
|
58
|
+
"""
|
|
59
|
+
return pulumi.get(self, "project_id")
|
|
60
|
+
|
|
61
|
+
@project_id.setter
|
|
62
|
+
def project_id(self, value: Optional[pulumi.Input[str]]):
|
|
63
|
+
pulumi.set(self, "project_id", value)
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
@pulumi.getter
|
|
67
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
|
68
|
+
"""
|
|
69
|
+
`region`). The region
|
|
70
|
+
in which the account should be created.
|
|
71
|
+
"""
|
|
72
|
+
return pulumi.get(self, "region")
|
|
73
|
+
|
|
74
|
+
@region.setter
|
|
75
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
|
76
|
+
pulumi.set(self, "region", value)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
@pulumi.input_type
|
|
80
|
+
class _MnqNatsAccountState:
|
|
81
|
+
def __init__(__self__, *,
|
|
82
|
+
endpoint: Optional[pulumi.Input[str]] = None,
|
|
83
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
84
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
85
|
+
region: Optional[pulumi.Input[str]] = None):
|
|
86
|
+
"""
|
|
87
|
+
Input properties used for looking up and filtering MnqNatsAccount resources.
|
|
88
|
+
:param pulumi.Input[str] endpoint: The endpoint of the NATS service for this account.
|
|
89
|
+
:param pulumi.Input[str] name: The unique name of the NATS account.
|
|
90
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project the
|
|
91
|
+
account is associated with.
|
|
92
|
+
:param pulumi.Input[str] region: `region`). The region
|
|
93
|
+
in which the account should be created.
|
|
94
|
+
"""
|
|
95
|
+
if endpoint is not None:
|
|
96
|
+
pulumi.set(__self__, "endpoint", endpoint)
|
|
97
|
+
if name is not None:
|
|
98
|
+
pulumi.set(__self__, "name", name)
|
|
99
|
+
if project_id is not None:
|
|
100
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
101
|
+
if region is not None:
|
|
102
|
+
pulumi.set(__self__, "region", region)
|
|
103
|
+
|
|
104
|
+
@property
|
|
105
|
+
@pulumi.getter
|
|
106
|
+
def endpoint(self) -> Optional[pulumi.Input[str]]:
|
|
107
|
+
"""
|
|
108
|
+
The endpoint of the NATS service for this account.
|
|
109
|
+
"""
|
|
110
|
+
return pulumi.get(self, "endpoint")
|
|
111
|
+
|
|
112
|
+
@endpoint.setter
|
|
113
|
+
def endpoint(self, value: Optional[pulumi.Input[str]]):
|
|
114
|
+
pulumi.set(self, "endpoint", value)
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
@pulumi.getter
|
|
118
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
119
|
+
"""
|
|
120
|
+
The unique name of the NATS account.
|
|
121
|
+
"""
|
|
122
|
+
return pulumi.get(self, "name")
|
|
123
|
+
|
|
124
|
+
@name.setter
|
|
125
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
126
|
+
pulumi.set(self, "name", value)
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
@pulumi.getter(name="projectId")
|
|
130
|
+
def project_id(self) -> Optional[pulumi.Input[str]]:
|
|
131
|
+
"""
|
|
132
|
+
`project_id`) The ID of the Project the
|
|
133
|
+
account is associated with.
|
|
134
|
+
"""
|
|
135
|
+
return pulumi.get(self, "project_id")
|
|
136
|
+
|
|
137
|
+
@project_id.setter
|
|
138
|
+
def project_id(self, value: Optional[pulumi.Input[str]]):
|
|
139
|
+
pulumi.set(self, "project_id", value)
|
|
140
|
+
|
|
141
|
+
@property
|
|
142
|
+
@pulumi.getter
|
|
143
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
|
144
|
+
"""
|
|
145
|
+
`region`). The region
|
|
146
|
+
in which the account should be created.
|
|
147
|
+
"""
|
|
148
|
+
return pulumi.get(self, "region")
|
|
149
|
+
|
|
150
|
+
@region.setter
|
|
151
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
|
152
|
+
pulumi.set(self, "region", value)
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
class MnqNatsAccount(pulumi.CustomResource):
|
|
156
|
+
@overload
|
|
157
|
+
def __init__(__self__,
|
|
158
|
+
resource_name: str,
|
|
159
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
160
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
161
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
162
|
+
region: Optional[pulumi.Input[str]] = None,
|
|
163
|
+
__props__=None):
|
|
164
|
+
"""
|
|
165
|
+
Creates and manages Scaleway Messaging and Queuing NATS accounts.
|
|
166
|
+
For further information, see
|
|
167
|
+
our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/)
|
|
168
|
+
To use the Scaleway provider with the official NATS JetStream provider, check out the corresponding guide.
|
|
169
|
+
|
|
170
|
+
## Example Usage
|
|
171
|
+
|
|
172
|
+
### Basic
|
|
173
|
+
|
|
174
|
+
```python
|
|
175
|
+
import pulumi
|
|
176
|
+
import pulumiverse_scaleway as scaleway
|
|
177
|
+
|
|
178
|
+
main = scaleway.MnqNatsAccount("main", name="nats-account")
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
## Import
|
|
182
|
+
|
|
183
|
+
Namespaces can be imported using `{region}/{id}`, e.g.
|
|
184
|
+
|
|
185
|
+
bash
|
|
186
|
+
|
|
187
|
+
```sh
|
|
188
|
+
$ pulumi import scaleway:index/mnqNatsAccount:MnqNatsAccount main fr-par/11111111111111111111111111111111
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
:param str resource_name: The name of the resource.
|
|
192
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
193
|
+
:param pulumi.Input[str] name: The unique name of the NATS account.
|
|
194
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project the
|
|
195
|
+
account is associated with.
|
|
196
|
+
:param pulumi.Input[str] region: `region`). The region
|
|
197
|
+
in which the account should be created.
|
|
198
|
+
"""
|
|
199
|
+
...
|
|
200
|
+
@overload
|
|
201
|
+
def __init__(__self__,
|
|
202
|
+
resource_name: str,
|
|
203
|
+
args: Optional[MnqNatsAccountArgs] = None,
|
|
204
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
205
|
+
"""
|
|
206
|
+
Creates and manages Scaleway Messaging and Queuing NATS accounts.
|
|
207
|
+
For further information, see
|
|
208
|
+
our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/)
|
|
209
|
+
To use the Scaleway provider with the official NATS JetStream provider, check out the corresponding guide.
|
|
210
|
+
|
|
211
|
+
## Example Usage
|
|
212
|
+
|
|
213
|
+
### Basic
|
|
214
|
+
|
|
215
|
+
```python
|
|
216
|
+
import pulumi
|
|
217
|
+
import pulumiverse_scaleway as scaleway
|
|
218
|
+
|
|
219
|
+
main = scaleway.MnqNatsAccount("main", name="nats-account")
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
## Import
|
|
223
|
+
|
|
224
|
+
Namespaces can be imported using `{region}/{id}`, e.g.
|
|
225
|
+
|
|
226
|
+
bash
|
|
227
|
+
|
|
228
|
+
```sh
|
|
229
|
+
$ pulumi import scaleway:index/mnqNatsAccount:MnqNatsAccount main fr-par/11111111111111111111111111111111
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
:param str resource_name: The name of the resource.
|
|
233
|
+
:param MnqNatsAccountArgs args: The arguments to use to populate this resource's properties.
|
|
234
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
235
|
+
"""
|
|
236
|
+
...
|
|
237
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
238
|
+
resource_args, opts = _utilities.get_resource_args_opts(MnqNatsAccountArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
239
|
+
if resource_args is not None:
|
|
240
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
241
|
+
else:
|
|
242
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
243
|
+
|
|
244
|
+
def _internal_init(__self__,
|
|
245
|
+
resource_name: str,
|
|
246
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
247
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
248
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
249
|
+
region: Optional[pulumi.Input[str]] = None,
|
|
250
|
+
__props__=None):
|
|
251
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
252
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
253
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
254
|
+
if opts.id is None:
|
|
255
|
+
if __props__ is not None:
|
|
256
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
257
|
+
__props__ = MnqNatsAccountArgs.__new__(MnqNatsAccountArgs)
|
|
258
|
+
|
|
259
|
+
__props__.__dict__["name"] = name
|
|
260
|
+
__props__.__dict__["project_id"] = project_id
|
|
261
|
+
__props__.__dict__["region"] = region
|
|
262
|
+
__props__.__dict__["endpoint"] = None
|
|
263
|
+
super(MnqNatsAccount, __self__).__init__(
|
|
264
|
+
'scaleway:index/mnqNatsAccount:MnqNatsAccount',
|
|
265
|
+
resource_name,
|
|
266
|
+
__props__,
|
|
267
|
+
opts)
|
|
268
|
+
|
|
269
|
+
@staticmethod
|
|
270
|
+
def get(resource_name: str,
|
|
271
|
+
id: pulumi.Input[str],
|
|
272
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
273
|
+
endpoint: Optional[pulumi.Input[str]] = None,
|
|
274
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
275
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
276
|
+
region: Optional[pulumi.Input[str]] = None) -> 'MnqNatsAccount':
|
|
277
|
+
"""
|
|
278
|
+
Get an existing MnqNatsAccount resource's state with the given name, id, and optional extra
|
|
279
|
+
properties used to qualify the lookup.
|
|
280
|
+
|
|
281
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
282
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
283
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
284
|
+
:param pulumi.Input[str] endpoint: The endpoint of the NATS service for this account.
|
|
285
|
+
:param pulumi.Input[str] name: The unique name of the NATS account.
|
|
286
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project the
|
|
287
|
+
account is associated with.
|
|
288
|
+
:param pulumi.Input[str] region: `region`). The region
|
|
289
|
+
in which the account should be created.
|
|
290
|
+
"""
|
|
291
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
292
|
+
|
|
293
|
+
__props__ = _MnqNatsAccountState.__new__(_MnqNatsAccountState)
|
|
294
|
+
|
|
295
|
+
__props__.__dict__["endpoint"] = endpoint
|
|
296
|
+
__props__.__dict__["name"] = name
|
|
297
|
+
__props__.__dict__["project_id"] = project_id
|
|
298
|
+
__props__.__dict__["region"] = region
|
|
299
|
+
return MnqNatsAccount(resource_name, opts=opts, __props__=__props__)
|
|
300
|
+
|
|
301
|
+
@property
|
|
302
|
+
@pulumi.getter
|
|
303
|
+
def endpoint(self) -> pulumi.Output[str]:
|
|
304
|
+
"""
|
|
305
|
+
The endpoint of the NATS service for this account.
|
|
306
|
+
"""
|
|
307
|
+
return pulumi.get(self, "endpoint")
|
|
308
|
+
|
|
309
|
+
@property
|
|
310
|
+
@pulumi.getter
|
|
311
|
+
def name(self) -> pulumi.Output[str]:
|
|
312
|
+
"""
|
|
313
|
+
The unique name of the NATS account.
|
|
314
|
+
"""
|
|
315
|
+
return pulumi.get(self, "name")
|
|
316
|
+
|
|
317
|
+
@property
|
|
318
|
+
@pulumi.getter(name="projectId")
|
|
319
|
+
def project_id(self) -> pulumi.Output[str]:
|
|
320
|
+
"""
|
|
321
|
+
`project_id`) The ID of the Project the
|
|
322
|
+
account is associated with.
|
|
323
|
+
"""
|
|
324
|
+
return pulumi.get(self, "project_id")
|
|
325
|
+
|
|
326
|
+
@property
|
|
327
|
+
@pulumi.getter
|
|
328
|
+
def region(self) -> pulumi.Output[str]:
|
|
329
|
+
"""
|
|
330
|
+
`region`). The region
|
|
331
|
+
in which the account should be created.
|
|
332
|
+
"""
|
|
333
|
+
return pulumi.get(self, "region")
|
|
334
|
+
|
|
@@ -0,0 +1,330 @@
|
|
|
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__ = ['MnqNatsCredentialsArgs', 'MnqNatsCredentials']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class MnqNatsCredentialsArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
account_id: pulumi.Input[str],
|
|
23
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
24
|
+
region: Optional[pulumi.Input[str]] = None):
|
|
25
|
+
"""
|
|
26
|
+
The set of arguments for constructing a MnqNatsCredentials resource.
|
|
27
|
+
:param pulumi.Input[str] account_id: The ID of the NATS account the credentials are generated from
|
|
28
|
+
:param pulumi.Input[str] name: The unique name of the NATS credentials.
|
|
29
|
+
:param pulumi.Input[str] region: `region`). The region
|
|
30
|
+
in which the account exists.
|
|
31
|
+
"""
|
|
32
|
+
pulumi.set(__self__, "account_id", account_id)
|
|
33
|
+
if name is not None:
|
|
34
|
+
pulumi.set(__self__, "name", name)
|
|
35
|
+
if region is not None:
|
|
36
|
+
pulumi.set(__self__, "region", region)
|
|
37
|
+
|
|
38
|
+
@property
|
|
39
|
+
@pulumi.getter(name="accountId")
|
|
40
|
+
def account_id(self) -> pulumi.Input[str]:
|
|
41
|
+
"""
|
|
42
|
+
The ID of the NATS account the credentials are generated from
|
|
43
|
+
"""
|
|
44
|
+
return pulumi.get(self, "account_id")
|
|
45
|
+
|
|
46
|
+
@account_id.setter
|
|
47
|
+
def account_id(self, value: pulumi.Input[str]):
|
|
48
|
+
pulumi.set(self, "account_id", value)
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
@pulumi.getter
|
|
52
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
53
|
+
"""
|
|
54
|
+
The unique name of the NATS credentials.
|
|
55
|
+
"""
|
|
56
|
+
return pulumi.get(self, "name")
|
|
57
|
+
|
|
58
|
+
@name.setter
|
|
59
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
60
|
+
pulumi.set(self, "name", value)
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
@pulumi.getter
|
|
64
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
|
65
|
+
"""
|
|
66
|
+
`region`). The region
|
|
67
|
+
in which the account exists.
|
|
68
|
+
"""
|
|
69
|
+
return pulumi.get(self, "region")
|
|
70
|
+
|
|
71
|
+
@region.setter
|
|
72
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
|
73
|
+
pulumi.set(self, "region", value)
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
@pulumi.input_type
|
|
77
|
+
class _MnqNatsCredentialsState:
|
|
78
|
+
def __init__(__self__, *,
|
|
79
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
|
80
|
+
file: Optional[pulumi.Input[str]] = None,
|
|
81
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
82
|
+
region: Optional[pulumi.Input[str]] = None):
|
|
83
|
+
"""
|
|
84
|
+
Input properties used for looking up and filtering MnqNatsCredentials resources.
|
|
85
|
+
:param pulumi.Input[str] account_id: The ID of the NATS account the credentials are generated from
|
|
86
|
+
:param pulumi.Input[str] file: The content of the credentials file.
|
|
87
|
+
:param pulumi.Input[str] name: The unique name of the NATS credentials.
|
|
88
|
+
:param pulumi.Input[str] region: `region`). The region
|
|
89
|
+
in which the account exists.
|
|
90
|
+
"""
|
|
91
|
+
if account_id is not None:
|
|
92
|
+
pulumi.set(__self__, "account_id", account_id)
|
|
93
|
+
if file is not None:
|
|
94
|
+
pulumi.set(__self__, "file", file)
|
|
95
|
+
if name is not None:
|
|
96
|
+
pulumi.set(__self__, "name", name)
|
|
97
|
+
if region is not None:
|
|
98
|
+
pulumi.set(__self__, "region", region)
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
@pulumi.getter(name="accountId")
|
|
102
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
|
103
|
+
"""
|
|
104
|
+
The ID of the NATS account the credentials are generated from
|
|
105
|
+
"""
|
|
106
|
+
return pulumi.get(self, "account_id")
|
|
107
|
+
|
|
108
|
+
@account_id.setter
|
|
109
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
|
110
|
+
pulumi.set(self, "account_id", value)
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
@pulumi.getter
|
|
114
|
+
def file(self) -> Optional[pulumi.Input[str]]:
|
|
115
|
+
"""
|
|
116
|
+
The content of the credentials file.
|
|
117
|
+
"""
|
|
118
|
+
return pulumi.get(self, "file")
|
|
119
|
+
|
|
120
|
+
@file.setter
|
|
121
|
+
def file(self, value: Optional[pulumi.Input[str]]):
|
|
122
|
+
pulumi.set(self, "file", value)
|
|
123
|
+
|
|
124
|
+
@property
|
|
125
|
+
@pulumi.getter
|
|
126
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
127
|
+
"""
|
|
128
|
+
The unique name of the NATS credentials.
|
|
129
|
+
"""
|
|
130
|
+
return pulumi.get(self, "name")
|
|
131
|
+
|
|
132
|
+
@name.setter
|
|
133
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
134
|
+
pulumi.set(self, "name", value)
|
|
135
|
+
|
|
136
|
+
@property
|
|
137
|
+
@pulumi.getter
|
|
138
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
|
139
|
+
"""
|
|
140
|
+
`region`). The region
|
|
141
|
+
in which the account exists.
|
|
142
|
+
"""
|
|
143
|
+
return pulumi.get(self, "region")
|
|
144
|
+
|
|
145
|
+
@region.setter
|
|
146
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
|
147
|
+
pulumi.set(self, "region", value)
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
class MnqNatsCredentials(pulumi.CustomResource):
|
|
151
|
+
@overload
|
|
152
|
+
def __init__(__self__,
|
|
153
|
+
resource_name: str,
|
|
154
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
155
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
|
156
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
157
|
+
region: Optional[pulumi.Input[str]] = None,
|
|
158
|
+
__props__=None):
|
|
159
|
+
"""
|
|
160
|
+
Creates and manages Scaleway Messaging and Queuing NATS credentials.
|
|
161
|
+
For further information, see
|
|
162
|
+
our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/).
|
|
163
|
+
|
|
164
|
+
## Example Usage
|
|
165
|
+
|
|
166
|
+
### Basic
|
|
167
|
+
|
|
168
|
+
```python
|
|
169
|
+
import pulumi
|
|
170
|
+
import pulumiverse_scaleway as scaleway
|
|
171
|
+
|
|
172
|
+
main = scaleway.MnqNatsAccount("main", name="nats-account")
|
|
173
|
+
main_mnq_nats_credentials = scaleway.MnqNatsCredentials("main", account_id=main.id)
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
## Import
|
|
177
|
+
|
|
178
|
+
Namespaces can be imported using `{region}/{id}`, e.g.
|
|
179
|
+
|
|
180
|
+
bash
|
|
181
|
+
|
|
182
|
+
```sh
|
|
183
|
+
$ pulumi import scaleway:index/mnqNatsCredentials:MnqNatsCredentials main fr-par/11111111111111111111111111111111
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
:param str resource_name: The name of the resource.
|
|
187
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
188
|
+
:param pulumi.Input[str] account_id: The ID of the NATS account the credentials are generated from
|
|
189
|
+
:param pulumi.Input[str] name: The unique name of the NATS credentials.
|
|
190
|
+
:param pulumi.Input[str] region: `region`). The region
|
|
191
|
+
in which the account exists.
|
|
192
|
+
"""
|
|
193
|
+
...
|
|
194
|
+
@overload
|
|
195
|
+
def __init__(__self__,
|
|
196
|
+
resource_name: str,
|
|
197
|
+
args: MnqNatsCredentialsArgs,
|
|
198
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
199
|
+
"""
|
|
200
|
+
Creates and manages Scaleway Messaging and Queuing NATS credentials.
|
|
201
|
+
For further information, see
|
|
202
|
+
our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/nats-overview/).
|
|
203
|
+
|
|
204
|
+
## Example Usage
|
|
205
|
+
|
|
206
|
+
### Basic
|
|
207
|
+
|
|
208
|
+
```python
|
|
209
|
+
import pulumi
|
|
210
|
+
import pulumiverse_scaleway as scaleway
|
|
211
|
+
|
|
212
|
+
main = scaleway.MnqNatsAccount("main", name="nats-account")
|
|
213
|
+
main_mnq_nats_credentials = scaleway.MnqNatsCredentials("main", account_id=main.id)
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
## Import
|
|
217
|
+
|
|
218
|
+
Namespaces can be imported using `{region}/{id}`, e.g.
|
|
219
|
+
|
|
220
|
+
bash
|
|
221
|
+
|
|
222
|
+
```sh
|
|
223
|
+
$ pulumi import scaleway:index/mnqNatsCredentials:MnqNatsCredentials main fr-par/11111111111111111111111111111111
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
:param str resource_name: The name of the resource.
|
|
227
|
+
:param MnqNatsCredentialsArgs args: The arguments to use to populate this resource's properties.
|
|
228
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
229
|
+
"""
|
|
230
|
+
...
|
|
231
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
232
|
+
resource_args, opts = _utilities.get_resource_args_opts(MnqNatsCredentialsArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
233
|
+
if resource_args is not None:
|
|
234
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
235
|
+
else:
|
|
236
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
237
|
+
|
|
238
|
+
def _internal_init(__self__,
|
|
239
|
+
resource_name: str,
|
|
240
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
241
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
|
242
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
243
|
+
region: Optional[pulumi.Input[str]] = None,
|
|
244
|
+
__props__=None):
|
|
245
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
246
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
247
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
248
|
+
if opts.id is None:
|
|
249
|
+
if __props__ is not None:
|
|
250
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
251
|
+
__props__ = MnqNatsCredentialsArgs.__new__(MnqNatsCredentialsArgs)
|
|
252
|
+
|
|
253
|
+
if account_id is None and not opts.urn:
|
|
254
|
+
raise TypeError("Missing required property 'account_id'")
|
|
255
|
+
__props__.__dict__["account_id"] = account_id
|
|
256
|
+
__props__.__dict__["name"] = name
|
|
257
|
+
__props__.__dict__["region"] = region
|
|
258
|
+
__props__.__dict__["file"] = None
|
|
259
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["file"])
|
|
260
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
261
|
+
super(MnqNatsCredentials, __self__).__init__(
|
|
262
|
+
'scaleway:index/mnqNatsCredentials:MnqNatsCredentials',
|
|
263
|
+
resource_name,
|
|
264
|
+
__props__,
|
|
265
|
+
opts)
|
|
266
|
+
|
|
267
|
+
@staticmethod
|
|
268
|
+
def get(resource_name: str,
|
|
269
|
+
id: pulumi.Input[str],
|
|
270
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
271
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
|
272
|
+
file: Optional[pulumi.Input[str]] = None,
|
|
273
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
274
|
+
region: Optional[pulumi.Input[str]] = None) -> 'MnqNatsCredentials':
|
|
275
|
+
"""
|
|
276
|
+
Get an existing MnqNatsCredentials resource's state with the given name, id, and optional extra
|
|
277
|
+
properties used to qualify the lookup.
|
|
278
|
+
|
|
279
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
280
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
281
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
282
|
+
:param pulumi.Input[str] account_id: The ID of the NATS account the credentials are generated from
|
|
283
|
+
:param pulumi.Input[str] file: The content of the credentials file.
|
|
284
|
+
:param pulumi.Input[str] name: The unique name of the NATS credentials.
|
|
285
|
+
:param pulumi.Input[str] region: `region`). The region
|
|
286
|
+
in which the account exists.
|
|
287
|
+
"""
|
|
288
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
289
|
+
|
|
290
|
+
__props__ = _MnqNatsCredentialsState.__new__(_MnqNatsCredentialsState)
|
|
291
|
+
|
|
292
|
+
__props__.__dict__["account_id"] = account_id
|
|
293
|
+
__props__.__dict__["file"] = file
|
|
294
|
+
__props__.__dict__["name"] = name
|
|
295
|
+
__props__.__dict__["region"] = region
|
|
296
|
+
return MnqNatsCredentials(resource_name, opts=opts, __props__=__props__)
|
|
297
|
+
|
|
298
|
+
@property
|
|
299
|
+
@pulumi.getter(name="accountId")
|
|
300
|
+
def account_id(self) -> pulumi.Output[str]:
|
|
301
|
+
"""
|
|
302
|
+
The ID of the NATS account the credentials are generated from
|
|
303
|
+
"""
|
|
304
|
+
return pulumi.get(self, "account_id")
|
|
305
|
+
|
|
306
|
+
@property
|
|
307
|
+
@pulumi.getter
|
|
308
|
+
def file(self) -> pulumi.Output[str]:
|
|
309
|
+
"""
|
|
310
|
+
The content of the credentials file.
|
|
311
|
+
"""
|
|
312
|
+
return pulumi.get(self, "file")
|
|
313
|
+
|
|
314
|
+
@property
|
|
315
|
+
@pulumi.getter
|
|
316
|
+
def name(self) -> pulumi.Output[str]:
|
|
317
|
+
"""
|
|
318
|
+
The unique name of the NATS credentials.
|
|
319
|
+
"""
|
|
320
|
+
return pulumi.get(self, "name")
|
|
321
|
+
|
|
322
|
+
@property
|
|
323
|
+
@pulumi.getter
|
|
324
|
+
def region(self) -> pulumi.Output[str]:
|
|
325
|
+
"""
|
|
326
|
+
`region`). The region
|
|
327
|
+
in which the account exists.
|
|
328
|
+
"""
|
|
329
|
+
return pulumi.get(self, "region")
|
|
330
|
+
|