pulumiverse-scaleway 1.16.0__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 +1073 -0
- pulumiverse_scaleway/_inputs.py +8665 -0
- pulumiverse_scaleway/_utilities.py +327 -0
- pulumiverse_scaleway/account_project.py +316 -0
- pulumiverse_scaleway/account_ssh_key.py +450 -0
- pulumiverse_scaleway/apple_silicon_server.py +564 -0
- pulumiverse_scaleway/baremetal_server.py +1390 -0
- pulumiverse_scaleway/block_snapshot.py +391 -0
- pulumiverse_scaleway/block_volume.py +521 -0
- pulumiverse_scaleway/cockpit.py +299 -0
- pulumiverse_scaleway/cockpit_alert_manager.py +345 -0
- pulumiverse_scaleway/cockpit_grafana_user.py +326 -0
- pulumiverse_scaleway/cockpit_source.py +481 -0
- pulumiverse_scaleway/cockpit_token.py +461 -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 +1387 -0
- pulumiverse_scaleway/container_cron.py +493 -0
- pulumiverse_scaleway/container_domain.py +400 -0
- pulumiverse_scaleway/container_namespace.py +589 -0
- pulumiverse_scaleway/container_token.py +454 -0
- pulumiverse_scaleway/container_trigger.py +478 -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 +1636 -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/documentdb_database.py +450 -0
- pulumiverse_scaleway/documentdb_instance.py +812 -0
- pulumiverse_scaleway/documentdb_private_network_endpoint.py +352 -0
- pulumiverse_scaleway/documentdb_privilege.py +402 -0
- pulumiverse_scaleway/documentdb_read_replica.py +405 -0
- pulumiverse_scaleway/documentdb_user.py +442 -0
- pulumiverse_scaleway/domain_record.py +1074 -0
- pulumiverse_scaleway/domain_zone.py +458 -0
- pulumiverse_scaleway/flexible_ip.py +702 -0
- pulumiverse_scaleway/flexible_ip_mac_address.py +510 -0
- pulumiverse_scaleway/function.py +1145 -0
- pulumiverse_scaleway/function_cron.py +480 -0
- pulumiverse_scaleway/function_domain.py +361 -0
- pulumiverse_scaleway/function_namespace.py +533 -0
- pulumiverse_scaleway/function_token.py +462 -0
- pulumiverse_scaleway/function_trigger.py +478 -0
- pulumiverse_scaleway/get_account_project.py +164 -0
- pulumiverse_scaleway/get_account_ssh_key.py +201 -0
- pulumiverse_scaleway/get_availability_zones.py +131 -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 +411 -0
- pulumiverse_scaleway/get_billing_consumptions.py +134 -0
- pulumiverse_scaleway/get_billing_invoices.py +154 -0
- pulumiverse_scaleway/get_block_snapshot.py +170 -0
- pulumiverse_scaleway/get_block_volume.py +186 -0
- pulumiverse_scaleway/get_cockpit.py +179 -0
- pulumiverse_scaleway/get_cockpit_plan.py +113 -0
- pulumiverse_scaleway/get_config.py +180 -0
- pulumiverse_scaleway/get_container.py +502 -0
- pulumiverse_scaleway/get_container_namespace.py +262 -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_documentdb_database.py +198 -0
- pulumiverse_scaleway/get_documentdb_instance.py +245 -0
- pulumiverse_scaleway/get_documentdb_load_balancer_endpoint.py +198 -0
- pulumiverse_scaleway/get_domain_record.py +334 -0
- pulumiverse_scaleway/get_domain_zone.py +225 -0
- pulumiverse_scaleway/get_flexible_ip.py +247 -0
- pulumiverse_scaleway/get_flexible_ips.py +240 -0
- pulumiverse_scaleway/get_function.py +357 -0
- pulumiverse_scaleway/get_function_namespace.py +227 -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 +157 -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 +215 -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 +222 -0
- pulumiverse_scaleway/get_marketplace_image.py +147 -0
- pulumiverse_scaleway/get_mnq_sqs.py +150 -0
- pulumiverse_scaleway/get_object_bucket.py +278 -0
- pulumiverse_scaleway/get_object_bucket_policy.py +157 -0
- pulumiverse_scaleway/get_redis_cluster.py +347 -0
- pulumiverse_scaleway/get_registry_image.py +239 -0
- pulumiverse_scaleway/get_registry_namespace.py +199 -0
- pulumiverse_scaleway/get_secret.py +290 -0
- pulumiverse_scaleway/get_secret_version.py +303 -0
- pulumiverse_scaleway/get_tem_domain.py +367 -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 +727 -0
- pulumiverse_scaleway/iam_ssh_key.py +455 -0
- pulumiverse_scaleway/iam_user.py +466 -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 +454 -0
- pulumiverse_scaleway/instance_security_group.py +720 -0
- pulumiverse_scaleway/instance_security_group_rules.py +439 -0
- pulumiverse_scaleway/instance_server.py +1907 -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 +425 -0
- pulumiverse_scaleway/iot_route.py +660 -0
- pulumiverse_scaleway/ipam_ip.py +666 -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 +1095 -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 +328 -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/object_bucket.py +888 -0
- pulumiverse_scaleway/object_bucket_acl.py +592 -0
- pulumiverse_scaleway/object_bucket_lock_configuration.py +393 -0
- pulumiverse_scaleway/object_bucket_policy.py +671 -0
- pulumiverse_scaleway/object_bucket_website_configuration.py +532 -0
- pulumiverse_scaleway/object_item.py +711 -0
- pulumiverse_scaleway/outputs.py +11663 -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 +1166 -0
- pulumiverse_scaleway/registry_namespace.py +458 -0
- pulumiverse_scaleway/sdb_database.py +428 -0
- pulumiverse_scaleway/secret.py +560 -0
- pulumiverse_scaleway/secret_version.py +482 -0
- pulumiverse_scaleway/tem_domain.py +950 -0
- pulumiverse_scaleway/tem_domain_validation.py +303 -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/webhosting.py +805 -0
- pulumiverse_scaleway-1.16.0.dist-info/METADATA +69 -0
- pulumiverse_scaleway-1.16.0.dist-info/RECORD +205 -0
- pulumiverse_scaleway-1.16.0.dist-info/WHEEL +5 -0
- pulumiverse_scaleway-1.16.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,481 @@
|
|
|
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__ = ['CockpitSourceArgs', 'CockpitSource']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class CockpitSourceArgs:
|
|
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
|
+
type: Optional[pulumi.Input[str]] = None):
|
|
26
|
+
"""
|
|
27
|
+
The set of arguments for constructing a CockpitSource resource.
|
|
28
|
+
:param pulumi.Input[str] name: The name of the cockpit data source.
|
|
29
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the cockpit data source is associated with.
|
|
30
|
+
:param pulumi.Input[str] region: `region`) The region of the cockpit datasource.
|
|
31
|
+
:param pulumi.Input[str] type: The type of the cockpit data source. Possible values are: `metrics`, `logs` or `traces`.
|
|
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
|
+
if type is not None:
|
|
40
|
+
pulumi.set(__self__, "type", type)
|
|
41
|
+
|
|
42
|
+
@property
|
|
43
|
+
@pulumi.getter
|
|
44
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
45
|
+
"""
|
|
46
|
+
The name of the cockpit data source.
|
|
47
|
+
"""
|
|
48
|
+
return pulumi.get(self, "name")
|
|
49
|
+
|
|
50
|
+
@name.setter
|
|
51
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
52
|
+
pulumi.set(self, "name", value)
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
@pulumi.getter(name="projectId")
|
|
56
|
+
def project_id(self) -> Optional[pulumi.Input[str]]:
|
|
57
|
+
"""
|
|
58
|
+
`project_id`) The ID of the project the cockpit data source is associated with.
|
|
59
|
+
"""
|
|
60
|
+
return pulumi.get(self, "project_id")
|
|
61
|
+
|
|
62
|
+
@project_id.setter
|
|
63
|
+
def project_id(self, value: Optional[pulumi.Input[str]]):
|
|
64
|
+
pulumi.set(self, "project_id", value)
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
@pulumi.getter
|
|
68
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
|
69
|
+
"""
|
|
70
|
+
`region`) The region of the cockpit datasource.
|
|
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
|
+
@property
|
|
79
|
+
@pulumi.getter
|
|
80
|
+
def type(self) -> Optional[pulumi.Input[str]]:
|
|
81
|
+
"""
|
|
82
|
+
The type of the cockpit data source. Possible values are: `metrics`, `logs` or `traces`.
|
|
83
|
+
"""
|
|
84
|
+
return pulumi.get(self, "type")
|
|
85
|
+
|
|
86
|
+
@type.setter
|
|
87
|
+
def type(self, value: Optional[pulumi.Input[str]]):
|
|
88
|
+
pulumi.set(self, "type", value)
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
@pulumi.input_type
|
|
92
|
+
class _CockpitSourceState:
|
|
93
|
+
def __init__(__self__, *,
|
|
94
|
+
created_at: Optional[pulumi.Input[str]] = None,
|
|
95
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
96
|
+
origin: Optional[pulumi.Input[str]] = None,
|
|
97
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
98
|
+
region: Optional[pulumi.Input[str]] = None,
|
|
99
|
+
synchronized_with_grafana: Optional[pulumi.Input[bool]] = None,
|
|
100
|
+
type: Optional[pulumi.Input[str]] = None,
|
|
101
|
+
updated_at: Optional[pulumi.Input[str]] = None,
|
|
102
|
+
url: Optional[pulumi.Input[str]] = None):
|
|
103
|
+
"""
|
|
104
|
+
Input properties used for looking up and filtering CockpitSource resources.
|
|
105
|
+
:param pulumi.Input[str] created_at: Date and time of the cockpit data source's creation (RFC 3339 format).
|
|
106
|
+
:param pulumi.Input[str] name: The name of the cockpit data source.
|
|
107
|
+
:param pulumi.Input[str] origin: The origin of the cockpit data source.
|
|
108
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the cockpit data source is associated with.
|
|
109
|
+
:param pulumi.Input[str] region: `region`) The region of the cockpit datasource.
|
|
110
|
+
:param pulumi.Input[bool] synchronized_with_grafana: Indicates whether the data source is synchronized with Grafana.
|
|
111
|
+
:param pulumi.Input[str] type: The type of the cockpit data source. Possible values are: `metrics`, `logs` or `traces`.
|
|
112
|
+
:param pulumi.Input[str] updated_at: Date and time of the cockpit datas ource's last update (RFC 3339 format).
|
|
113
|
+
:param pulumi.Input[str] url: The URL of the cockpit data source.
|
|
114
|
+
"""
|
|
115
|
+
if created_at is not None:
|
|
116
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
117
|
+
if name is not None:
|
|
118
|
+
pulumi.set(__self__, "name", name)
|
|
119
|
+
if origin is not None:
|
|
120
|
+
pulumi.set(__self__, "origin", origin)
|
|
121
|
+
if project_id is not None:
|
|
122
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
123
|
+
if region is not None:
|
|
124
|
+
pulumi.set(__self__, "region", region)
|
|
125
|
+
if synchronized_with_grafana is not None:
|
|
126
|
+
pulumi.set(__self__, "synchronized_with_grafana", synchronized_with_grafana)
|
|
127
|
+
if type is not None:
|
|
128
|
+
pulumi.set(__self__, "type", type)
|
|
129
|
+
if updated_at is not None:
|
|
130
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
|
131
|
+
if url is not None:
|
|
132
|
+
pulumi.set(__self__, "url", url)
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
@pulumi.getter(name="createdAt")
|
|
136
|
+
def created_at(self) -> Optional[pulumi.Input[str]]:
|
|
137
|
+
"""
|
|
138
|
+
Date and time of the cockpit data source's creation (RFC 3339 format).
|
|
139
|
+
"""
|
|
140
|
+
return pulumi.get(self, "created_at")
|
|
141
|
+
|
|
142
|
+
@created_at.setter
|
|
143
|
+
def created_at(self, value: Optional[pulumi.Input[str]]):
|
|
144
|
+
pulumi.set(self, "created_at", value)
|
|
145
|
+
|
|
146
|
+
@property
|
|
147
|
+
@pulumi.getter
|
|
148
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
149
|
+
"""
|
|
150
|
+
The name of the cockpit data source.
|
|
151
|
+
"""
|
|
152
|
+
return pulumi.get(self, "name")
|
|
153
|
+
|
|
154
|
+
@name.setter
|
|
155
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
156
|
+
pulumi.set(self, "name", value)
|
|
157
|
+
|
|
158
|
+
@property
|
|
159
|
+
@pulumi.getter
|
|
160
|
+
def origin(self) -> Optional[pulumi.Input[str]]:
|
|
161
|
+
"""
|
|
162
|
+
The origin of the cockpit data source.
|
|
163
|
+
"""
|
|
164
|
+
return pulumi.get(self, "origin")
|
|
165
|
+
|
|
166
|
+
@origin.setter
|
|
167
|
+
def origin(self, value: Optional[pulumi.Input[str]]):
|
|
168
|
+
pulumi.set(self, "origin", value)
|
|
169
|
+
|
|
170
|
+
@property
|
|
171
|
+
@pulumi.getter(name="projectId")
|
|
172
|
+
def project_id(self) -> Optional[pulumi.Input[str]]:
|
|
173
|
+
"""
|
|
174
|
+
`project_id`) The ID of the project the cockpit data source is associated with.
|
|
175
|
+
"""
|
|
176
|
+
return pulumi.get(self, "project_id")
|
|
177
|
+
|
|
178
|
+
@project_id.setter
|
|
179
|
+
def project_id(self, value: Optional[pulumi.Input[str]]):
|
|
180
|
+
pulumi.set(self, "project_id", value)
|
|
181
|
+
|
|
182
|
+
@property
|
|
183
|
+
@pulumi.getter
|
|
184
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
|
185
|
+
"""
|
|
186
|
+
`region`) The region of the cockpit datasource.
|
|
187
|
+
"""
|
|
188
|
+
return pulumi.get(self, "region")
|
|
189
|
+
|
|
190
|
+
@region.setter
|
|
191
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
|
192
|
+
pulumi.set(self, "region", value)
|
|
193
|
+
|
|
194
|
+
@property
|
|
195
|
+
@pulumi.getter(name="synchronizedWithGrafana")
|
|
196
|
+
def synchronized_with_grafana(self) -> Optional[pulumi.Input[bool]]:
|
|
197
|
+
"""
|
|
198
|
+
Indicates whether the data source is synchronized with Grafana.
|
|
199
|
+
"""
|
|
200
|
+
return pulumi.get(self, "synchronized_with_grafana")
|
|
201
|
+
|
|
202
|
+
@synchronized_with_grafana.setter
|
|
203
|
+
def synchronized_with_grafana(self, value: Optional[pulumi.Input[bool]]):
|
|
204
|
+
pulumi.set(self, "synchronized_with_grafana", value)
|
|
205
|
+
|
|
206
|
+
@property
|
|
207
|
+
@pulumi.getter
|
|
208
|
+
def type(self) -> Optional[pulumi.Input[str]]:
|
|
209
|
+
"""
|
|
210
|
+
The type of the cockpit data source. Possible values are: `metrics`, `logs` or `traces`.
|
|
211
|
+
"""
|
|
212
|
+
return pulumi.get(self, "type")
|
|
213
|
+
|
|
214
|
+
@type.setter
|
|
215
|
+
def type(self, value: Optional[pulumi.Input[str]]):
|
|
216
|
+
pulumi.set(self, "type", value)
|
|
217
|
+
|
|
218
|
+
@property
|
|
219
|
+
@pulumi.getter(name="updatedAt")
|
|
220
|
+
def updated_at(self) -> Optional[pulumi.Input[str]]:
|
|
221
|
+
"""
|
|
222
|
+
Date and time of the cockpit datas ource's last update (RFC 3339 format).
|
|
223
|
+
"""
|
|
224
|
+
return pulumi.get(self, "updated_at")
|
|
225
|
+
|
|
226
|
+
@updated_at.setter
|
|
227
|
+
def updated_at(self, value: Optional[pulumi.Input[str]]):
|
|
228
|
+
pulumi.set(self, "updated_at", value)
|
|
229
|
+
|
|
230
|
+
@property
|
|
231
|
+
@pulumi.getter
|
|
232
|
+
def url(self) -> Optional[pulumi.Input[str]]:
|
|
233
|
+
"""
|
|
234
|
+
The URL of the cockpit data source.
|
|
235
|
+
"""
|
|
236
|
+
return pulumi.get(self, "url")
|
|
237
|
+
|
|
238
|
+
@url.setter
|
|
239
|
+
def url(self, value: Optional[pulumi.Input[str]]):
|
|
240
|
+
pulumi.set(self, "url", value)
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
class CockpitSource(pulumi.CustomResource):
|
|
244
|
+
@overload
|
|
245
|
+
def __init__(__self__,
|
|
246
|
+
resource_name: str,
|
|
247
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
248
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
249
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
250
|
+
region: Optional[pulumi.Input[str]] = None,
|
|
251
|
+
type: Optional[pulumi.Input[str]] = None,
|
|
252
|
+
__props__=None):
|
|
253
|
+
"""
|
|
254
|
+
Creates and manages Scaleway Cockpit Data Sources.
|
|
255
|
+
|
|
256
|
+
For more information consult the [documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#data-sources).
|
|
257
|
+
|
|
258
|
+
## Example Usage
|
|
259
|
+
|
|
260
|
+
```python
|
|
261
|
+
import pulumi
|
|
262
|
+
import pulumiverse_scaleway as scaleway
|
|
263
|
+
|
|
264
|
+
project = scaleway.AccountProject("project", name="test project data source")
|
|
265
|
+
main = scaleway.CockpitSource("main",
|
|
266
|
+
project_id=project.id,
|
|
267
|
+
name="my-data-source",
|
|
268
|
+
type="metrics")
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
## Import
|
|
272
|
+
|
|
273
|
+
Cockpits Data Sources can be imported using the `{region}/{id}`, e.g.
|
|
274
|
+
|
|
275
|
+
bash
|
|
276
|
+
|
|
277
|
+
```sh
|
|
278
|
+
$ pulumi import scaleway:index/cockpitSource:CockpitSource main fr-par/11111111-1111-1111-1111-111111111111
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
:param str resource_name: The name of the resource.
|
|
282
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
283
|
+
:param pulumi.Input[str] name: The name of the cockpit data source.
|
|
284
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the cockpit data source is associated with.
|
|
285
|
+
:param pulumi.Input[str] region: `region`) The region of the cockpit datasource.
|
|
286
|
+
:param pulumi.Input[str] type: The type of the cockpit data source. Possible values are: `metrics`, `logs` or `traces`.
|
|
287
|
+
"""
|
|
288
|
+
...
|
|
289
|
+
@overload
|
|
290
|
+
def __init__(__self__,
|
|
291
|
+
resource_name: str,
|
|
292
|
+
args: Optional[CockpitSourceArgs] = None,
|
|
293
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
294
|
+
"""
|
|
295
|
+
Creates and manages Scaleway Cockpit Data Sources.
|
|
296
|
+
|
|
297
|
+
For more information consult the [documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#data-sources).
|
|
298
|
+
|
|
299
|
+
## Example Usage
|
|
300
|
+
|
|
301
|
+
```python
|
|
302
|
+
import pulumi
|
|
303
|
+
import pulumiverse_scaleway as scaleway
|
|
304
|
+
|
|
305
|
+
project = scaleway.AccountProject("project", name="test project data source")
|
|
306
|
+
main = scaleway.CockpitSource("main",
|
|
307
|
+
project_id=project.id,
|
|
308
|
+
name="my-data-source",
|
|
309
|
+
type="metrics")
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
## Import
|
|
313
|
+
|
|
314
|
+
Cockpits Data Sources can be imported using the `{region}/{id}`, e.g.
|
|
315
|
+
|
|
316
|
+
bash
|
|
317
|
+
|
|
318
|
+
```sh
|
|
319
|
+
$ pulumi import scaleway:index/cockpitSource:CockpitSource main fr-par/11111111-1111-1111-1111-111111111111
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
:param str resource_name: The name of the resource.
|
|
323
|
+
:param CockpitSourceArgs args: The arguments to use to populate this resource's properties.
|
|
324
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
325
|
+
"""
|
|
326
|
+
...
|
|
327
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
328
|
+
resource_args, opts = _utilities.get_resource_args_opts(CockpitSourceArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
329
|
+
if resource_args is not None:
|
|
330
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
331
|
+
else:
|
|
332
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
333
|
+
|
|
334
|
+
def _internal_init(__self__,
|
|
335
|
+
resource_name: str,
|
|
336
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
337
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
338
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
339
|
+
region: Optional[pulumi.Input[str]] = None,
|
|
340
|
+
type: Optional[pulumi.Input[str]] = None,
|
|
341
|
+
__props__=None):
|
|
342
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
343
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
344
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
345
|
+
if opts.id is None:
|
|
346
|
+
if __props__ is not None:
|
|
347
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
348
|
+
__props__ = CockpitSourceArgs.__new__(CockpitSourceArgs)
|
|
349
|
+
|
|
350
|
+
__props__.__dict__["name"] = name
|
|
351
|
+
__props__.__dict__["project_id"] = project_id
|
|
352
|
+
__props__.__dict__["region"] = region
|
|
353
|
+
__props__.__dict__["type"] = type
|
|
354
|
+
__props__.__dict__["created_at"] = None
|
|
355
|
+
__props__.__dict__["origin"] = None
|
|
356
|
+
__props__.__dict__["synchronized_with_grafana"] = None
|
|
357
|
+
__props__.__dict__["updated_at"] = None
|
|
358
|
+
__props__.__dict__["url"] = None
|
|
359
|
+
super(CockpitSource, __self__).__init__(
|
|
360
|
+
'scaleway:index/cockpitSource:CockpitSource',
|
|
361
|
+
resource_name,
|
|
362
|
+
__props__,
|
|
363
|
+
opts)
|
|
364
|
+
|
|
365
|
+
@staticmethod
|
|
366
|
+
def get(resource_name: str,
|
|
367
|
+
id: pulumi.Input[str],
|
|
368
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
369
|
+
created_at: Optional[pulumi.Input[str]] = None,
|
|
370
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
371
|
+
origin: Optional[pulumi.Input[str]] = None,
|
|
372
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
|
373
|
+
region: Optional[pulumi.Input[str]] = None,
|
|
374
|
+
synchronized_with_grafana: Optional[pulumi.Input[bool]] = None,
|
|
375
|
+
type: Optional[pulumi.Input[str]] = None,
|
|
376
|
+
updated_at: Optional[pulumi.Input[str]] = None,
|
|
377
|
+
url: Optional[pulumi.Input[str]] = None) -> 'CockpitSource':
|
|
378
|
+
"""
|
|
379
|
+
Get an existing CockpitSource resource's state with the given name, id, and optional extra
|
|
380
|
+
properties used to qualify the lookup.
|
|
381
|
+
|
|
382
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
383
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
384
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
385
|
+
:param pulumi.Input[str] created_at: Date and time of the cockpit data source's creation (RFC 3339 format).
|
|
386
|
+
:param pulumi.Input[str] name: The name of the cockpit data source.
|
|
387
|
+
:param pulumi.Input[str] origin: The origin of the cockpit data source.
|
|
388
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the cockpit data source is associated with.
|
|
389
|
+
:param pulumi.Input[str] region: `region`) The region of the cockpit datasource.
|
|
390
|
+
:param pulumi.Input[bool] synchronized_with_grafana: Indicates whether the data source is synchronized with Grafana.
|
|
391
|
+
:param pulumi.Input[str] type: The type of the cockpit data source. Possible values are: `metrics`, `logs` or `traces`.
|
|
392
|
+
:param pulumi.Input[str] updated_at: Date and time of the cockpit datas ource's last update (RFC 3339 format).
|
|
393
|
+
:param pulumi.Input[str] url: The URL of the cockpit data source.
|
|
394
|
+
"""
|
|
395
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
396
|
+
|
|
397
|
+
__props__ = _CockpitSourceState.__new__(_CockpitSourceState)
|
|
398
|
+
|
|
399
|
+
__props__.__dict__["created_at"] = created_at
|
|
400
|
+
__props__.__dict__["name"] = name
|
|
401
|
+
__props__.__dict__["origin"] = origin
|
|
402
|
+
__props__.__dict__["project_id"] = project_id
|
|
403
|
+
__props__.__dict__["region"] = region
|
|
404
|
+
__props__.__dict__["synchronized_with_grafana"] = synchronized_with_grafana
|
|
405
|
+
__props__.__dict__["type"] = type
|
|
406
|
+
__props__.__dict__["updated_at"] = updated_at
|
|
407
|
+
__props__.__dict__["url"] = url
|
|
408
|
+
return CockpitSource(resource_name, opts=opts, __props__=__props__)
|
|
409
|
+
|
|
410
|
+
@property
|
|
411
|
+
@pulumi.getter(name="createdAt")
|
|
412
|
+
def created_at(self) -> pulumi.Output[str]:
|
|
413
|
+
"""
|
|
414
|
+
Date and time of the cockpit data source's creation (RFC 3339 format).
|
|
415
|
+
"""
|
|
416
|
+
return pulumi.get(self, "created_at")
|
|
417
|
+
|
|
418
|
+
@property
|
|
419
|
+
@pulumi.getter
|
|
420
|
+
def name(self) -> pulumi.Output[str]:
|
|
421
|
+
"""
|
|
422
|
+
The name of the cockpit data source.
|
|
423
|
+
"""
|
|
424
|
+
return pulumi.get(self, "name")
|
|
425
|
+
|
|
426
|
+
@property
|
|
427
|
+
@pulumi.getter
|
|
428
|
+
def origin(self) -> pulumi.Output[str]:
|
|
429
|
+
"""
|
|
430
|
+
The origin of the cockpit data source.
|
|
431
|
+
"""
|
|
432
|
+
return pulumi.get(self, "origin")
|
|
433
|
+
|
|
434
|
+
@property
|
|
435
|
+
@pulumi.getter(name="projectId")
|
|
436
|
+
def project_id(self) -> pulumi.Output[str]:
|
|
437
|
+
"""
|
|
438
|
+
`project_id`) The ID of the project the cockpit data source is associated with.
|
|
439
|
+
"""
|
|
440
|
+
return pulumi.get(self, "project_id")
|
|
441
|
+
|
|
442
|
+
@property
|
|
443
|
+
@pulumi.getter
|
|
444
|
+
def region(self) -> pulumi.Output[str]:
|
|
445
|
+
"""
|
|
446
|
+
`region`) The region of the cockpit datasource.
|
|
447
|
+
"""
|
|
448
|
+
return pulumi.get(self, "region")
|
|
449
|
+
|
|
450
|
+
@property
|
|
451
|
+
@pulumi.getter(name="synchronizedWithGrafana")
|
|
452
|
+
def synchronized_with_grafana(self) -> pulumi.Output[bool]:
|
|
453
|
+
"""
|
|
454
|
+
Indicates whether the data source is synchronized with Grafana.
|
|
455
|
+
"""
|
|
456
|
+
return pulumi.get(self, "synchronized_with_grafana")
|
|
457
|
+
|
|
458
|
+
@property
|
|
459
|
+
@pulumi.getter
|
|
460
|
+
def type(self) -> pulumi.Output[Optional[str]]:
|
|
461
|
+
"""
|
|
462
|
+
The type of the cockpit data source. Possible values are: `metrics`, `logs` or `traces`.
|
|
463
|
+
"""
|
|
464
|
+
return pulumi.get(self, "type")
|
|
465
|
+
|
|
466
|
+
@property
|
|
467
|
+
@pulumi.getter(name="updatedAt")
|
|
468
|
+
def updated_at(self) -> pulumi.Output[str]:
|
|
469
|
+
"""
|
|
470
|
+
Date and time of the cockpit datas ource's last update (RFC 3339 format).
|
|
471
|
+
"""
|
|
472
|
+
return pulumi.get(self, "updated_at")
|
|
473
|
+
|
|
474
|
+
@property
|
|
475
|
+
@pulumi.getter
|
|
476
|
+
def url(self) -> pulumi.Output[str]:
|
|
477
|
+
"""
|
|
478
|
+
The URL of the cockpit data source.
|
|
479
|
+
"""
|
|
480
|
+
return pulumi.get(self, "url")
|
|
481
|
+
|