pulumiverse-scaleway 1.16.0a1730122985__py3-none-any.whl → 1.17.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 +10 -0
- pulumiverse_scaleway/_inputs.py +165 -60
- pulumiverse_scaleway/block_snapshot.py +37 -27
- pulumiverse_scaleway/block_volume.py +49 -43
- pulumiverse_scaleway/cockpit.py +39 -24
- pulumiverse_scaleway/cockpit_alert_manager.py +42 -38
- pulumiverse_scaleway/cockpit_grafana_user.py +39 -31
- pulumiverse_scaleway/cockpit_source.py +86 -50
- pulumiverse_scaleway/cockpit_token.py +45 -27
- pulumiverse_scaleway/database_instance.py +13 -8
- pulumiverse_scaleway/domain_record.py +88 -46
- pulumiverse_scaleway/domain_zone.py +47 -75
- pulumiverse_scaleway/get_block_snapshot.py +16 -12
- pulumiverse_scaleway/get_block_volume.py +10 -8
- pulumiverse_scaleway/get_cockpit.py +44 -19
- pulumiverse_scaleway/get_cockpit_plan.py +18 -6
- pulumiverse_scaleway/get_domain_record.py +40 -34
- pulumiverse_scaleway/get_domain_zone.py +12 -36
- pulumiverse_scaleway/get_mnq_sns.py +150 -0
- pulumiverse_scaleway/get_secret.py +77 -29
- pulumiverse_scaleway/get_secret_version.py +75 -38
- pulumiverse_scaleway/iam_policy.py +46 -0
- pulumiverse_scaleway/instance_server.py +56 -4
- pulumiverse_scaleway/loadbalancer_frontend.py +4 -4
- pulumiverse_scaleway/outputs.py +169 -55
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/secret.py +162 -59
- pulumiverse_scaleway/secret_version.py +59 -54
- pulumiverse_scaleway/tem_domain.py +9 -4
- pulumiverse_scaleway/tem_webhook.py +640 -0
- {pulumiverse_scaleway-1.16.0a1730122985.dist-info → pulumiverse_scaleway-1.17.0.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.16.0a1730122985.dist-info → pulumiverse_scaleway-1.17.0.dist-info}/RECORD +34 -32
- {pulumiverse_scaleway-1.16.0a1730122985.dist-info → pulumiverse_scaleway-1.17.0.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.16.0a1730122985.dist-info → pulumiverse_scaleway-1.17.0.dist-info}/top_level.txt +0 -0
pulumiverse_scaleway/outputs.py
CHANGED
|
@@ -102,6 +102,7 @@ __all__ = [
|
|
|
102
102
|
'RedisClusterAcl',
|
|
103
103
|
'RedisClusterPrivateNetwork',
|
|
104
104
|
'RedisClusterPublicNetwork',
|
|
105
|
+
'SecretEphemeralPolicy',
|
|
105
106
|
'TemDomainReputation',
|
|
106
107
|
'VpcGatewayNetworkIpamConfig',
|
|
107
108
|
'VpcPrivateNetworkIpv4Subnet',
|
|
@@ -184,6 +185,7 @@ __all__ = [
|
|
|
184
185
|
'GetRedisClusterAclResult',
|
|
185
186
|
'GetRedisClusterPrivateNetworkResult',
|
|
186
187
|
'GetRedisClusterPublicNetworkResult',
|
|
188
|
+
'GetSecretEphemeralPolicyResult',
|
|
187
189
|
'GetTemDomainReputationResult',
|
|
188
190
|
'GetVpcGatewayNetworkIpamConfigResult',
|
|
189
191
|
'GetVpcPrivateNetworkIpv4SubnetResult',
|
|
@@ -557,11 +559,11 @@ class CockpitEndpoint(dict):
|
|
|
557
559
|
metrics_url: Optional[str] = None,
|
|
558
560
|
traces_url: Optional[str] = None):
|
|
559
561
|
"""
|
|
560
|
-
:param str alertmanager_url:
|
|
561
|
-
:param str grafana_url:
|
|
562
|
-
:param str logs_url:
|
|
563
|
-
:param str metrics_url:
|
|
564
|
-
:param str traces_url:
|
|
562
|
+
:param str alertmanager_url: (Deprecated) URL for the [Alert manager](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#alert-manager).
|
|
563
|
+
:param str grafana_url: (Deprecated) URL for Grafana.
|
|
564
|
+
:param str logs_url: (Deprecated) URL for [logs](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#logs) to retrieve in the [Data sources tab](https://console.scaleway.com/cockpit/dataSource) of the Scaleway console.
|
|
565
|
+
:param str metrics_url: (Deprecated) URL for [metrics](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#metric) to retrieve in the [Data sources tab](https://console.scaleway.com/cockpit/dataSource) of the Scaleway console.
|
|
566
|
+
:param str traces_url: (Deprecated) URL for [traces](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#traces) to retrieve in the [Data sources tab](https://console.scaleway.com/cockpit/dataSource) of the Scaleway console.
|
|
565
567
|
"""
|
|
566
568
|
if alertmanager_url is not None:
|
|
567
569
|
pulumi.set(__self__, "alertmanager_url", alertmanager_url)
|
|
@@ -578,7 +580,7 @@ class CockpitEndpoint(dict):
|
|
|
578
580
|
@pulumi.getter(name="alertmanagerUrl")
|
|
579
581
|
def alertmanager_url(self) -> Optional[str]:
|
|
580
582
|
"""
|
|
581
|
-
|
|
583
|
+
(Deprecated) URL for the [Alert manager](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#alert-manager).
|
|
582
584
|
"""
|
|
583
585
|
return pulumi.get(self, "alertmanager_url")
|
|
584
586
|
|
|
@@ -586,7 +588,7 @@ class CockpitEndpoint(dict):
|
|
|
586
588
|
@pulumi.getter(name="grafanaUrl")
|
|
587
589
|
def grafana_url(self) -> Optional[str]:
|
|
588
590
|
"""
|
|
589
|
-
|
|
591
|
+
(Deprecated) URL for Grafana.
|
|
590
592
|
"""
|
|
591
593
|
return pulumi.get(self, "grafana_url")
|
|
592
594
|
|
|
@@ -594,7 +596,7 @@ class CockpitEndpoint(dict):
|
|
|
594
596
|
@pulumi.getter(name="logsUrl")
|
|
595
597
|
def logs_url(self) -> Optional[str]:
|
|
596
598
|
"""
|
|
597
|
-
|
|
599
|
+
(Deprecated) URL for [logs](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#logs) to retrieve in the [Data sources tab](https://console.scaleway.com/cockpit/dataSource) of the Scaleway console.
|
|
598
600
|
"""
|
|
599
601
|
return pulumi.get(self, "logs_url")
|
|
600
602
|
|
|
@@ -602,7 +604,7 @@ class CockpitEndpoint(dict):
|
|
|
602
604
|
@pulumi.getter(name="metricsUrl")
|
|
603
605
|
def metrics_url(self) -> Optional[str]:
|
|
604
606
|
"""
|
|
605
|
-
|
|
607
|
+
(Deprecated) URL for [metrics](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#metric) to retrieve in the [Data sources tab](https://console.scaleway.com/cockpit/dataSource) of the Scaleway console.
|
|
606
608
|
"""
|
|
607
609
|
return pulumi.get(self, "metrics_url")
|
|
608
610
|
|
|
@@ -610,7 +612,7 @@ class CockpitEndpoint(dict):
|
|
|
610
612
|
@pulumi.getter(name="tracesUrl")
|
|
611
613
|
def traces_url(self) -> Optional[str]:
|
|
612
614
|
"""
|
|
613
|
-
|
|
615
|
+
(Deprecated) URL for [traces](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#traces) to retrieve in the [Data sources tab](https://console.scaleway.com/cockpit/dataSource) of the Scaleway console.
|
|
614
616
|
"""
|
|
615
617
|
return pulumi.get(self, "traces_url")
|
|
616
618
|
|
|
@@ -711,15 +713,15 @@ class CockpitTokenScopes(dict):
|
|
|
711
713
|
write_metrics: Optional[bool] = None,
|
|
712
714
|
write_traces: Optional[bool] = None):
|
|
713
715
|
"""
|
|
714
|
-
:param bool query_logs:
|
|
715
|
-
:param bool query_metrics:
|
|
716
|
-
:param bool query_traces:
|
|
717
|
-
:param bool setup_alerts:
|
|
718
|
-
:param bool setup_logs_rules:
|
|
719
|
-
:param bool setup_metrics_rules:
|
|
720
|
-
:param bool write_logs:
|
|
721
|
-
:param bool write_metrics:
|
|
722
|
-
:param bool write_traces:
|
|
716
|
+
:param bool query_logs: Permission to query logs.
|
|
717
|
+
:param bool query_metrics: Permission to query metrics.
|
|
718
|
+
:param bool query_traces: Permission to query traces.
|
|
719
|
+
:param bool setup_alerts: Permission to set up alerts.
|
|
720
|
+
:param bool setup_logs_rules: Permission to set up logs rules.
|
|
721
|
+
:param bool setup_metrics_rules: Permission to set up metrics rules.
|
|
722
|
+
:param bool write_logs: Permission to write logs.
|
|
723
|
+
:param bool write_metrics: Permission to write metrics.
|
|
724
|
+
:param bool write_traces: Permission to write traces.
|
|
723
725
|
"""
|
|
724
726
|
if query_logs is not None:
|
|
725
727
|
pulumi.set(__self__, "query_logs", query_logs)
|
|
@@ -744,7 +746,7 @@ class CockpitTokenScopes(dict):
|
|
|
744
746
|
@pulumi.getter(name="queryLogs")
|
|
745
747
|
def query_logs(self) -> Optional[bool]:
|
|
746
748
|
"""
|
|
747
|
-
|
|
749
|
+
Permission to query logs.
|
|
748
750
|
"""
|
|
749
751
|
return pulumi.get(self, "query_logs")
|
|
750
752
|
|
|
@@ -752,7 +754,7 @@ class CockpitTokenScopes(dict):
|
|
|
752
754
|
@pulumi.getter(name="queryMetrics")
|
|
753
755
|
def query_metrics(self) -> Optional[bool]:
|
|
754
756
|
"""
|
|
755
|
-
|
|
757
|
+
Permission to query metrics.
|
|
756
758
|
"""
|
|
757
759
|
return pulumi.get(self, "query_metrics")
|
|
758
760
|
|
|
@@ -760,7 +762,7 @@ class CockpitTokenScopes(dict):
|
|
|
760
762
|
@pulumi.getter(name="queryTraces")
|
|
761
763
|
def query_traces(self) -> Optional[bool]:
|
|
762
764
|
"""
|
|
763
|
-
|
|
765
|
+
Permission to query traces.
|
|
764
766
|
"""
|
|
765
767
|
return pulumi.get(self, "query_traces")
|
|
766
768
|
|
|
@@ -768,7 +770,7 @@ class CockpitTokenScopes(dict):
|
|
|
768
770
|
@pulumi.getter(name="setupAlerts")
|
|
769
771
|
def setup_alerts(self) -> Optional[bool]:
|
|
770
772
|
"""
|
|
771
|
-
|
|
773
|
+
Permission to set up alerts.
|
|
772
774
|
"""
|
|
773
775
|
return pulumi.get(self, "setup_alerts")
|
|
774
776
|
|
|
@@ -776,7 +778,7 @@ class CockpitTokenScopes(dict):
|
|
|
776
778
|
@pulumi.getter(name="setupLogsRules")
|
|
777
779
|
def setup_logs_rules(self) -> Optional[bool]:
|
|
778
780
|
"""
|
|
779
|
-
|
|
781
|
+
Permission to set up logs rules.
|
|
780
782
|
"""
|
|
781
783
|
return pulumi.get(self, "setup_logs_rules")
|
|
782
784
|
|
|
@@ -784,7 +786,7 @@ class CockpitTokenScopes(dict):
|
|
|
784
786
|
@pulumi.getter(name="setupMetricsRules")
|
|
785
787
|
def setup_metrics_rules(self) -> Optional[bool]:
|
|
786
788
|
"""
|
|
787
|
-
|
|
789
|
+
Permission to set up metrics rules.
|
|
788
790
|
"""
|
|
789
791
|
return pulumi.get(self, "setup_metrics_rules")
|
|
790
792
|
|
|
@@ -792,7 +794,7 @@ class CockpitTokenScopes(dict):
|
|
|
792
794
|
@pulumi.getter(name="writeLogs")
|
|
793
795
|
def write_logs(self) -> Optional[bool]:
|
|
794
796
|
"""
|
|
795
|
-
|
|
797
|
+
Permission to write logs.
|
|
796
798
|
"""
|
|
797
799
|
return pulumi.get(self, "write_logs")
|
|
798
800
|
|
|
@@ -800,7 +802,7 @@ class CockpitTokenScopes(dict):
|
|
|
800
802
|
@pulumi.getter(name="writeMetrics")
|
|
801
803
|
def write_metrics(self) -> Optional[bool]:
|
|
802
804
|
"""
|
|
803
|
-
|
|
805
|
+
Permission to write metrics.
|
|
804
806
|
"""
|
|
805
807
|
return pulumi.get(self, "write_metrics")
|
|
806
808
|
|
|
@@ -808,7 +810,7 @@ class CockpitTokenScopes(dict):
|
|
|
808
810
|
@pulumi.getter(name="writeTraces")
|
|
809
811
|
def write_traces(self) -> Optional[bool]:
|
|
810
812
|
"""
|
|
811
|
-
|
|
813
|
+
Permission to write traces.
|
|
812
814
|
"""
|
|
813
815
|
return pulumi.get(self, "write_traces")
|
|
814
816
|
|
|
@@ -1872,7 +1874,7 @@ class DomainRecordGeoIpMatch(dict):
|
|
|
1872
1874
|
continents: Optional[Sequence[str]] = None,
|
|
1873
1875
|
countries: Optional[Sequence[str]] = None):
|
|
1874
1876
|
"""
|
|
1875
|
-
:param str data: The content of the record (an IPv4 for an `A
|
|
1877
|
+
:param str data: The content of the record (an IPv4 for an `A` record, a string for a `TXT` record, etc.).
|
|
1876
1878
|
:param Sequence[str] continents: List of continents (eg: EU for Europe, NA for North America, AS for Asia...). List of all continents code: https://api.scaleway.com/domain-private/v2beta1/continents
|
|
1877
1879
|
:param Sequence[str] countries: List of countries (eg: FR for France, US for the United States, GB for Great Britain...). List of all countries code: https://api.scaleway.com/domain-private/v2beta1/countries
|
|
1878
1880
|
"""
|
|
@@ -1886,7 +1888,7 @@ class DomainRecordGeoIpMatch(dict):
|
|
|
1886
1888
|
@pulumi.getter
|
|
1887
1889
|
def data(self) -> str:
|
|
1888
1890
|
"""
|
|
1889
|
-
The content of the record (an IPv4 for an `A
|
|
1891
|
+
The content of the record (an IPv4 for an `A` record, a string for a `TXT` record, etc.).
|
|
1890
1892
|
"""
|
|
1891
1893
|
return pulumi.get(self, "data")
|
|
1892
1894
|
|
|
@@ -1995,7 +1997,7 @@ class DomainRecordView(dict):
|
|
|
1995
1997
|
data: str,
|
|
1996
1998
|
subnet: str):
|
|
1997
1999
|
"""
|
|
1998
|
-
:param str data: The content of the record (an IPv4 for an `A
|
|
2000
|
+
:param str data: The content of the record (an IPv4 for an `A` record, a string for a `TXT` record, etc.).
|
|
1999
2001
|
:param str subnet: The subnet of the view
|
|
2000
2002
|
"""
|
|
2001
2003
|
pulumi.set(__self__, "data", data)
|
|
@@ -2005,7 +2007,7 @@ class DomainRecordView(dict):
|
|
|
2005
2007
|
@pulumi.getter
|
|
2006
2008
|
def data(self) -> str:
|
|
2007
2009
|
"""
|
|
2008
|
-
The content of the record (an IPv4 for an `A
|
|
2010
|
+
The content of the record (an IPv4 for an `A` record, a string for a `TXT` record, etc.).
|
|
2009
2011
|
"""
|
|
2010
2012
|
return pulumi.get(self, "data")
|
|
2011
2013
|
|
|
@@ -2219,6 +2221,7 @@ class IamPolicyRule(dict):
|
|
|
2219
2221
|
|
|
2220
2222
|
def __init__(__self__, *,
|
|
2221
2223
|
permission_set_names: Sequence[str],
|
|
2224
|
+
condition: Optional[str] = None,
|
|
2222
2225
|
organization_id: Optional[str] = None,
|
|
2223
2226
|
project_ids: Optional[Sequence[str]] = None):
|
|
2224
2227
|
"""
|
|
@@ -2229,12 +2232,15 @@ class IamPolicyRule(dict):
|
|
|
2229
2232
|
```shell
|
|
2230
2233
|
scw IAM permission-set list
|
|
2231
2234
|
```
|
|
2235
|
+
:param str condition: The condition of the IAM policy.
|
|
2232
2236
|
:param str organization_id: ID of organization scoped to the rule, this can be used to create a rule for all projects in an organization.
|
|
2233
2237
|
:param Sequence[str] project_ids: List of project IDs scoped to the rule.
|
|
2234
2238
|
|
|
2235
2239
|
> **Important** One `organization_id` or `project_ids` must be set per rule.
|
|
2236
2240
|
"""
|
|
2237
2241
|
pulumi.set(__self__, "permission_set_names", permission_set_names)
|
|
2242
|
+
if condition is not None:
|
|
2243
|
+
pulumi.set(__self__, "condition", condition)
|
|
2238
2244
|
if organization_id is not None:
|
|
2239
2245
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
2240
2246
|
if project_ids is not None:
|
|
@@ -2254,6 +2260,14 @@ class IamPolicyRule(dict):
|
|
|
2254
2260
|
"""
|
|
2255
2261
|
return pulumi.get(self, "permission_set_names")
|
|
2256
2262
|
|
|
2263
|
+
@property
|
|
2264
|
+
@pulumi.getter
|
|
2265
|
+
def condition(self) -> Optional[str]:
|
|
2266
|
+
"""
|
|
2267
|
+
The condition of the IAM policy.
|
|
2268
|
+
"""
|
|
2269
|
+
return pulumi.get(self, "condition")
|
|
2270
|
+
|
|
2257
2271
|
@property
|
|
2258
2272
|
@pulumi.getter(name="organizationId")
|
|
2259
2273
|
def organization_id(self) -> Optional[str]:
|
|
@@ -4066,8 +4080,8 @@ class KubernetesNodePoolNode(dict):
|
|
|
4066
4080
|
"""
|
|
4067
4081
|
:param str name: The name for the pool.
|
|
4068
4082
|
> **Important:** Updates to this field will recreate a new resource.
|
|
4069
|
-
:param str public_ip: The public IPv4.
|
|
4070
|
-
:param str public_ip_v6: The public IPv6.
|
|
4083
|
+
:param str public_ip: The public IPv4. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)
|
|
4084
|
+
:param str public_ip_v6: The public IPv6. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)
|
|
4071
4085
|
:param str status: The status of the node.
|
|
4072
4086
|
"""
|
|
4073
4087
|
if name is not None:
|
|
@@ -4090,17 +4104,19 @@ class KubernetesNodePoolNode(dict):
|
|
|
4090
4104
|
|
|
4091
4105
|
@property
|
|
4092
4106
|
@pulumi.getter(name="publicIp")
|
|
4107
|
+
@_utilities.deprecated("""Please use the official Kubernetes provider and the kubernetes_nodes data source""")
|
|
4093
4108
|
def public_ip(self) -> Optional[str]:
|
|
4094
4109
|
"""
|
|
4095
|
-
The public IPv4.
|
|
4110
|
+
The public IPv4. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)
|
|
4096
4111
|
"""
|
|
4097
4112
|
return pulumi.get(self, "public_ip")
|
|
4098
4113
|
|
|
4099
4114
|
@property
|
|
4100
4115
|
@pulumi.getter(name="publicIpV6")
|
|
4116
|
+
@_utilities.deprecated("""Please use the official Kubernetes provider and the kubernetes_nodes data source""")
|
|
4101
4117
|
def public_ip_v6(self) -> Optional[str]:
|
|
4102
4118
|
"""
|
|
4103
|
-
The public IPv6.
|
|
4119
|
+
The public IPv6. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)
|
|
4104
4120
|
"""
|
|
4105
4121
|
return pulumi.get(self, "public_ip_v6")
|
|
4106
4122
|
|
|
@@ -4875,7 +4891,7 @@ class LoadbalancerPrivateNetwork(dict):
|
|
|
4875
4891
|
zone: Optional[str] = None):
|
|
4876
4892
|
"""
|
|
4877
4893
|
:param str private_network_id: (Required) The ID of the Private Network to attach to.
|
|
4878
|
-
:param bool dhcp_config: (
|
|
4894
|
+
:param bool dhcp_config: (Deprecated) Please use `ipam_ids`. Set to `true` if you want to let DHCP assign IP addresses. See below.
|
|
4879
4895
|
:param str ipam_ids: (Optional) IPAM ID of a pre-reserved IP address to assign to the Load Balancer on this Private Network.
|
|
4880
4896
|
:param str static_config: (Deprecated) Please use `ipam_ids`. Define a local ip address of your choice for the load balancer instance.
|
|
4881
4897
|
:param str status: The status of private network connection
|
|
@@ -4903,9 +4919,10 @@ class LoadbalancerPrivateNetwork(dict):
|
|
|
4903
4919
|
|
|
4904
4920
|
@property
|
|
4905
4921
|
@pulumi.getter(name="dhcpConfig")
|
|
4922
|
+
@_utilities.deprecated("""dhcp_config field is deprecated, please use `private_network_id` or `ipam_ids` instead""")
|
|
4906
4923
|
def dhcp_config(self) -> Optional[bool]:
|
|
4907
4924
|
"""
|
|
4908
|
-
(
|
|
4925
|
+
(Deprecated) Please use `ipam_ids`. Set to `true` if you want to let DHCP assign IP addresses. See below.
|
|
4909
4926
|
"""
|
|
4910
4927
|
return pulumi.get(self, "dhcp_config")
|
|
4911
4928
|
|
|
@@ -4919,7 +4936,7 @@ class LoadbalancerPrivateNetwork(dict):
|
|
|
4919
4936
|
|
|
4920
4937
|
@property
|
|
4921
4938
|
@pulumi.getter(name="staticConfig")
|
|
4922
|
-
@_utilities.deprecated("""static_config field is deprecated, please use
|
|
4939
|
+
@_utilities.deprecated("""static_config field is deprecated, please use `private_network_id` or `ipam_ids` instead""")
|
|
4923
4940
|
def static_config(self) -> Optional[str]:
|
|
4924
4941
|
"""
|
|
4925
4942
|
(Deprecated) Please use `ipam_ids`. Define a local ip address of your choice for the load balancer instance.
|
|
@@ -5844,6 +5861,65 @@ class RedisClusterPublicNetwork(dict):
|
|
|
5844
5861
|
return pulumi.get(self, "port")
|
|
5845
5862
|
|
|
5846
5863
|
|
|
5864
|
+
@pulumi.output_type
|
|
5865
|
+
class SecretEphemeralPolicy(dict):
|
|
5866
|
+
@staticmethod
|
|
5867
|
+
def __key_warning(key: str):
|
|
5868
|
+
suggest = None
|
|
5869
|
+
if key == "expiresOnceAccessed":
|
|
5870
|
+
suggest = "expires_once_accessed"
|
|
5871
|
+
|
|
5872
|
+
if suggest:
|
|
5873
|
+
pulumi.log.warn(f"Key '{key}' not found in SecretEphemeralPolicy. Access the value via the '{suggest}' property getter instead.")
|
|
5874
|
+
|
|
5875
|
+
def __getitem__(self, key: str) -> Any:
|
|
5876
|
+
SecretEphemeralPolicy.__key_warning(key)
|
|
5877
|
+
return super().__getitem__(key)
|
|
5878
|
+
|
|
5879
|
+
def get(self, key: str, default = None) -> Any:
|
|
5880
|
+
SecretEphemeralPolicy.__key_warning(key)
|
|
5881
|
+
return super().get(key, default)
|
|
5882
|
+
|
|
5883
|
+
def __init__(__self__, *,
|
|
5884
|
+
action: str,
|
|
5885
|
+
expires_once_accessed: Optional[bool] = None,
|
|
5886
|
+
ttl: Optional[str] = None):
|
|
5887
|
+
"""
|
|
5888
|
+
:param str action: Action to perform when the version of a secret expires. Available values can be found in [SDK constants](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/secret/v1beta1#pkg-constants).
|
|
5889
|
+
:param bool expires_once_accessed: True if the secret version expires after a single user access.
|
|
5890
|
+
:param str ttl: Time frame, from one second and up to one year, during which the secret's versions are valid. Has to be specified in [Go Duration format](https://pkg.go.dev/time#ParseDuration) (ex: "30m", "24h").
|
|
5891
|
+
"""
|
|
5892
|
+
pulumi.set(__self__, "action", action)
|
|
5893
|
+
if expires_once_accessed is not None:
|
|
5894
|
+
pulumi.set(__self__, "expires_once_accessed", expires_once_accessed)
|
|
5895
|
+
if ttl is not None:
|
|
5896
|
+
pulumi.set(__self__, "ttl", ttl)
|
|
5897
|
+
|
|
5898
|
+
@property
|
|
5899
|
+
@pulumi.getter
|
|
5900
|
+
def action(self) -> str:
|
|
5901
|
+
"""
|
|
5902
|
+
Action to perform when the version of a secret expires. Available values can be found in [SDK constants](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/secret/v1beta1#pkg-constants).
|
|
5903
|
+
"""
|
|
5904
|
+
return pulumi.get(self, "action")
|
|
5905
|
+
|
|
5906
|
+
@property
|
|
5907
|
+
@pulumi.getter(name="expiresOnceAccessed")
|
|
5908
|
+
def expires_once_accessed(self) -> Optional[bool]:
|
|
5909
|
+
"""
|
|
5910
|
+
True if the secret version expires after a single user access.
|
|
5911
|
+
"""
|
|
5912
|
+
return pulumi.get(self, "expires_once_accessed")
|
|
5913
|
+
|
|
5914
|
+
@property
|
|
5915
|
+
@pulumi.getter
|
|
5916
|
+
def ttl(self) -> Optional[str]:
|
|
5917
|
+
"""
|
|
5918
|
+
Time frame, from one second and up to one year, during which the secret's versions are valid. Has to be specified in [Go Duration format](https://pkg.go.dev/time#ParseDuration) (ex: "30m", "24h").
|
|
5919
|
+
"""
|
|
5920
|
+
return pulumi.get(self, "ttl")
|
|
5921
|
+
|
|
5922
|
+
|
|
5847
5923
|
@pulumi.output_type
|
|
5848
5924
|
class TemDomainReputation(dict):
|
|
5849
5925
|
@staticmethod
|
|
@@ -6934,10 +7010,10 @@ class GetCockpitEndpointResult(dict):
|
|
|
6934
7010
|
metrics_url: str,
|
|
6935
7011
|
traces_url: str):
|
|
6936
7012
|
"""
|
|
6937
|
-
:param str alertmanager_url:
|
|
6938
|
-
:param str grafana_url:
|
|
6939
|
-
:param str logs_url:
|
|
6940
|
-
:param str metrics_url:
|
|
7013
|
+
:param str alertmanager_url: (Deprecated) URL for the [Alert manager](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#alert-manager).
|
|
7014
|
+
:param str grafana_url: (Deprecated) URL for Grafana.
|
|
7015
|
+
:param str logs_url: (Deprecated) URL for [logs](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#logs) to retrieve in the [Data sources tab](https://console.scaleway.com/cockpit/dataSource) of the Scaleway console.
|
|
7016
|
+
:param str metrics_url: (Deprecated) URL for [metrics](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#metric) to retrieve in the [Data sources tab](https://console.scaleway.com/cockpit/dataSource) of the Scaleway console.
|
|
6941
7017
|
:param str traces_url: The traces URL
|
|
6942
7018
|
"""
|
|
6943
7019
|
pulumi.set(__self__, "alertmanager_url", alertmanager_url)
|
|
@@ -6950,7 +7026,7 @@ class GetCockpitEndpointResult(dict):
|
|
|
6950
7026
|
@pulumi.getter(name="alertmanagerUrl")
|
|
6951
7027
|
def alertmanager_url(self) -> str:
|
|
6952
7028
|
"""
|
|
6953
|
-
|
|
7029
|
+
(Deprecated) URL for the [Alert manager](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#alert-manager).
|
|
6954
7030
|
"""
|
|
6955
7031
|
return pulumi.get(self, "alertmanager_url")
|
|
6956
7032
|
|
|
@@ -6958,7 +7034,7 @@ class GetCockpitEndpointResult(dict):
|
|
|
6958
7034
|
@pulumi.getter(name="grafanaUrl")
|
|
6959
7035
|
def grafana_url(self) -> str:
|
|
6960
7036
|
"""
|
|
6961
|
-
|
|
7037
|
+
(Deprecated) URL for Grafana.
|
|
6962
7038
|
"""
|
|
6963
7039
|
return pulumi.get(self, "grafana_url")
|
|
6964
7040
|
|
|
@@ -6966,7 +7042,7 @@ class GetCockpitEndpointResult(dict):
|
|
|
6966
7042
|
@pulumi.getter(name="logsUrl")
|
|
6967
7043
|
def logs_url(self) -> str:
|
|
6968
7044
|
"""
|
|
6969
|
-
|
|
7045
|
+
(Deprecated) URL for [logs](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#logs) to retrieve in the [Data sources tab](https://console.scaleway.com/cockpit/dataSource) of the Scaleway console.
|
|
6970
7046
|
"""
|
|
6971
7047
|
return pulumi.get(self, "logs_url")
|
|
6972
7048
|
|
|
@@ -6974,7 +7050,7 @@ class GetCockpitEndpointResult(dict):
|
|
|
6974
7050
|
@pulumi.getter(name="metricsUrl")
|
|
6975
7051
|
def metrics_url(self) -> str:
|
|
6976
7052
|
"""
|
|
6977
|
-
|
|
7053
|
+
(Deprecated) URL for [metrics](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#metric) to retrieve in the [Data sources tab](https://console.scaleway.com/cockpit/dataSource) of the Scaleway console.
|
|
6978
7054
|
"""
|
|
6979
7055
|
return pulumi.get(self, "metrics_url")
|
|
6980
7056
|
|
|
@@ -7309,8 +7385,7 @@ class GetDomainRecordGeoIpMatchResult(dict):
|
|
|
7309
7385
|
"""
|
|
7310
7386
|
:param Sequence[str] continents: List of continents (eg: EU for Europe, NA for North America, AS for Asia...). List of all continents code: https://api.scaleway.com/domain-private/v2beta1/continents
|
|
7311
7387
|
:param Sequence[str] countries: List of countries (eg: FR for France, US for the United States, GB for Great Britain...). List of all countries code: https://api.scaleway.com/domain-private/v2beta1/countries
|
|
7312
|
-
:param str data: The content of the record (an IPv4 for an `A
|
|
7313
|
-
Cannot be used with `record_id`.
|
|
7388
|
+
:param str data: The content of the record (e.g., an IPv4 address for an `A` record or a string for a `TXT` record). Cannot be used with `record_id`.
|
|
7314
7389
|
"""
|
|
7315
7390
|
pulumi.set(__self__, "continents", continents)
|
|
7316
7391
|
pulumi.set(__self__, "countries", countries)
|
|
@@ -7336,8 +7411,7 @@ class GetDomainRecordGeoIpMatchResult(dict):
|
|
|
7336
7411
|
@pulumi.getter
|
|
7337
7412
|
def data(self) -> str:
|
|
7338
7413
|
"""
|
|
7339
|
-
The content of the record (an IPv4 for an `A
|
|
7340
|
-
Cannot be used with `record_id`.
|
|
7414
|
+
The content of the record (e.g., an IPv4 address for an `A` record or a string for a `TXT` record). Cannot be used with `record_id`.
|
|
7341
7415
|
"""
|
|
7342
7416
|
return pulumi.get(self, "data")
|
|
7343
7417
|
|
|
@@ -7410,8 +7484,7 @@ class GetDomainRecordViewResult(dict):
|
|
|
7410
7484
|
data: str,
|
|
7411
7485
|
subnet: str):
|
|
7412
7486
|
"""
|
|
7413
|
-
:param str data: The content of the record (an IPv4 for an `A
|
|
7414
|
-
Cannot be used with `record_id`.
|
|
7487
|
+
:param str data: The content of the record (e.g., an IPv4 address for an `A` record or a string for a `TXT` record). Cannot be used with `record_id`.
|
|
7415
7488
|
:param str subnet: The subnet of the view
|
|
7416
7489
|
"""
|
|
7417
7490
|
pulumi.set(__self__, "data", data)
|
|
@@ -7421,8 +7494,7 @@ class GetDomainRecordViewResult(dict):
|
|
|
7421
7494
|
@pulumi.getter
|
|
7422
7495
|
def data(self) -> str:
|
|
7423
7496
|
"""
|
|
7424
|
-
The content of the record (an IPv4 for an `A
|
|
7425
|
-
Cannot be used with `record_id`.
|
|
7497
|
+
The content of the record (e.g., an IPv4 address for an `A` record or a string for a `TXT` record). Cannot be used with `record_id`.
|
|
7426
7498
|
"""
|
|
7427
7499
|
return pulumi.get(self, "data")
|
|
7428
7500
|
|
|
@@ -8085,6 +8157,7 @@ class GetInstanceServersServerResult(dict):
|
|
|
8085
8157
|
|
|
8086
8158
|
@property
|
|
8087
8159
|
@pulumi.getter(name="bootscriptId")
|
|
8160
|
+
@_utilities.deprecated("""bootscript are not supported""")
|
|
8088
8161
|
def bootscript_id(self) -> str:
|
|
8089
8162
|
"""
|
|
8090
8163
|
The ID of the bootscript.
|
|
@@ -8194,6 +8267,7 @@ class GetInstanceServersServerResult(dict):
|
|
|
8194
8267
|
|
|
8195
8268
|
@property
|
|
8196
8269
|
@pulumi.getter(name="publicIp")
|
|
8270
|
+
@_utilities.deprecated("""Use public_ips instead""")
|
|
8197
8271
|
def public_ip(self) -> str:
|
|
8198
8272
|
"""
|
|
8199
8273
|
The public IP address of the server.
|
|
@@ -11013,6 +11087,46 @@ class GetRedisClusterPublicNetworkResult(dict):
|
|
|
11013
11087
|
return pulumi.get(self, "port")
|
|
11014
11088
|
|
|
11015
11089
|
|
|
11090
|
+
@pulumi.output_type
|
|
11091
|
+
class GetSecretEphemeralPolicyResult(dict):
|
|
11092
|
+
def __init__(__self__, *,
|
|
11093
|
+
action: str,
|
|
11094
|
+
expires_once_accessed: bool,
|
|
11095
|
+
ttl: str):
|
|
11096
|
+
"""
|
|
11097
|
+
:param str action: Action to perform when the version of a secret expires.
|
|
11098
|
+
:param bool expires_once_accessed: True if the secret version expires after a single user access.
|
|
11099
|
+
:param str ttl: Time frame, from one second and up to one year, during which the secret's versions are valid. Has to be specified in Go Duration format
|
|
11100
|
+
"""
|
|
11101
|
+
pulumi.set(__self__, "action", action)
|
|
11102
|
+
pulumi.set(__self__, "expires_once_accessed", expires_once_accessed)
|
|
11103
|
+
pulumi.set(__self__, "ttl", ttl)
|
|
11104
|
+
|
|
11105
|
+
@property
|
|
11106
|
+
@pulumi.getter
|
|
11107
|
+
def action(self) -> str:
|
|
11108
|
+
"""
|
|
11109
|
+
Action to perform when the version of a secret expires.
|
|
11110
|
+
"""
|
|
11111
|
+
return pulumi.get(self, "action")
|
|
11112
|
+
|
|
11113
|
+
@property
|
|
11114
|
+
@pulumi.getter(name="expiresOnceAccessed")
|
|
11115
|
+
def expires_once_accessed(self) -> bool:
|
|
11116
|
+
"""
|
|
11117
|
+
True if the secret version expires after a single user access.
|
|
11118
|
+
"""
|
|
11119
|
+
return pulumi.get(self, "expires_once_accessed")
|
|
11120
|
+
|
|
11121
|
+
@property
|
|
11122
|
+
@pulumi.getter
|
|
11123
|
+
def ttl(self) -> str:
|
|
11124
|
+
"""
|
|
11125
|
+
Time frame, from one second and up to one year, during which the secret's versions are valid. Has to be specified in Go Duration format
|
|
11126
|
+
"""
|
|
11127
|
+
return pulumi.get(self, "ttl")
|
|
11128
|
+
|
|
11129
|
+
|
|
11016
11130
|
@pulumi.output_type
|
|
11017
11131
|
class GetTemDomainReputationResult(dict):
|
|
11018
11132
|
def __init__(__self__, *,
|