pulumiverse-scaleway 1.17.0__py3-none-any.whl → 1.18.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 +9 -0
- pulumiverse_scaleway/_inputs.py +133 -107
- pulumiverse_scaleway/account_project.py +17 -17
- pulumiverse_scaleway/account_ssh_key.py +8 -4
- pulumiverse_scaleway/container.py +146 -160
- pulumiverse_scaleway/container_cron.py +42 -77
- pulumiverse_scaleway/container_domain.py +30 -24
- pulumiverse_scaleway/container_namespace.py +42 -42
- pulumiverse_scaleway/container_token.py +36 -38
- pulumiverse_scaleway/container_trigger.py +45 -43
- pulumiverse_scaleway/function.py +112 -154
- pulumiverse_scaleway/function_cron.py +42 -60
- pulumiverse_scaleway/function_domain.py +56 -47
- pulumiverse_scaleway/function_namespace.py +49 -49
- pulumiverse_scaleway/function_token.py +36 -38
- pulumiverse_scaleway/function_trigger.py +45 -43
- pulumiverse_scaleway/get_account_project.py +14 -8
- pulumiverse_scaleway/get_account_ssh_key.py +14 -10
- pulumiverse_scaleway/get_availability_zones.py +17 -9
- pulumiverse_scaleway/get_container.py +50 -30
- pulumiverse_scaleway/get_container_namespace.py +26 -16
- pulumiverse_scaleway/get_function.py +20 -12
- pulumiverse_scaleway/get_function_namespace.py +14 -14
- pulumiverse_scaleway/get_object_bucket.py +22 -10
- pulumiverse_scaleway/get_object_bucket_policy.py +15 -9
- pulumiverse_scaleway/get_tem_domain.py +12 -1
- pulumiverse_scaleway/instance_server.py +32 -0
- pulumiverse_scaleway/object_bucket.py +67 -81
- pulumiverse_scaleway/object_bucket_acl.py +21 -17
- pulumiverse_scaleway/object_bucket_lock_configuration.py +21 -19
- pulumiverse_scaleway/object_bucket_policy.py +10 -8
- pulumiverse_scaleway/object_bucket_website_configuration.py +24 -22
- pulumiverse_scaleway/object_item.py +78 -62
- pulumiverse_scaleway/outputs.py +102 -73
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/sdb_database.py +26 -22
- pulumiverse_scaleway/tem_domain.py +75 -0
- pulumiverse_scaleway/vpc_private_network.py +2 -2
- pulumiverse_scaleway/vpc_route.py +577 -0
- {pulumiverse_scaleway-1.17.0.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.17.0.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/RECORD +43 -42
- {pulumiverse_scaleway-1.17.0.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.17.0.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/top_level.txt +0 -0
pulumiverse_scaleway/_inputs.py
CHANGED
|
@@ -1059,19 +1059,19 @@ if not MYPY:
|
|
|
1059
1059
|
class ContainerTriggerNatsArgsDict(TypedDict):
|
|
1060
1060
|
subject: pulumi.Input[str]
|
|
1061
1061
|
"""
|
|
1062
|
-
The subject to listen to
|
|
1062
|
+
The subject to listen to.
|
|
1063
1063
|
"""
|
|
1064
1064
|
account_id: NotRequired[pulumi.Input[str]]
|
|
1065
1065
|
"""
|
|
1066
|
-
|
|
1066
|
+
unique identifier of the Messaging and Queuing NATS account.
|
|
1067
1067
|
"""
|
|
1068
1068
|
project_id: NotRequired[pulumi.Input[str]]
|
|
1069
1069
|
"""
|
|
1070
|
-
ID of the project that
|
|
1070
|
+
THe ID of the project that contains the Messaging and Queuing NATS account (defaults to provider `project_id`)
|
|
1071
1071
|
"""
|
|
1072
1072
|
region: NotRequired[pulumi.Input[str]]
|
|
1073
1073
|
"""
|
|
1074
|
-
Region where the
|
|
1074
|
+
Region where the Messaging and Queuing NATS account is enabled (defaults to provider `region`)
|
|
1075
1075
|
"""
|
|
1076
1076
|
elif False:
|
|
1077
1077
|
ContainerTriggerNatsArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -1084,10 +1084,10 @@ class ContainerTriggerNatsArgs:
|
|
|
1084
1084
|
project_id: Optional[pulumi.Input[str]] = None,
|
|
1085
1085
|
region: Optional[pulumi.Input[str]] = None):
|
|
1086
1086
|
"""
|
|
1087
|
-
:param pulumi.Input[str] subject: The subject to listen to
|
|
1088
|
-
:param pulumi.Input[str] account_id:
|
|
1089
|
-
:param pulumi.Input[str] project_id: ID of the project that
|
|
1090
|
-
:param pulumi.Input[str] region: Region where the
|
|
1087
|
+
:param pulumi.Input[str] subject: The subject to listen to.
|
|
1088
|
+
:param pulumi.Input[str] account_id: unique identifier of the Messaging and Queuing NATS account.
|
|
1089
|
+
:param pulumi.Input[str] project_id: THe ID of the project that contains the Messaging and Queuing NATS account (defaults to provider `project_id`)
|
|
1090
|
+
:param pulumi.Input[str] region: Region where the Messaging and Queuing NATS account is enabled (defaults to provider `region`)
|
|
1091
1091
|
"""
|
|
1092
1092
|
pulumi.set(__self__, "subject", subject)
|
|
1093
1093
|
if account_id is not None:
|
|
@@ -1101,7 +1101,7 @@ class ContainerTriggerNatsArgs:
|
|
|
1101
1101
|
@pulumi.getter
|
|
1102
1102
|
def subject(self) -> pulumi.Input[str]:
|
|
1103
1103
|
"""
|
|
1104
|
-
The subject to listen to
|
|
1104
|
+
The subject to listen to.
|
|
1105
1105
|
"""
|
|
1106
1106
|
return pulumi.get(self, "subject")
|
|
1107
1107
|
|
|
@@ -1113,7 +1113,7 @@ class ContainerTriggerNatsArgs:
|
|
|
1113
1113
|
@pulumi.getter(name="accountId")
|
|
1114
1114
|
def account_id(self) -> Optional[pulumi.Input[str]]:
|
|
1115
1115
|
"""
|
|
1116
|
-
|
|
1116
|
+
unique identifier of the Messaging and Queuing NATS account.
|
|
1117
1117
|
"""
|
|
1118
1118
|
return pulumi.get(self, "account_id")
|
|
1119
1119
|
|
|
@@ -1125,7 +1125,7 @@ class ContainerTriggerNatsArgs:
|
|
|
1125
1125
|
@pulumi.getter(name="projectId")
|
|
1126
1126
|
def project_id(self) -> Optional[pulumi.Input[str]]:
|
|
1127
1127
|
"""
|
|
1128
|
-
ID of the project that
|
|
1128
|
+
THe ID of the project that contains the Messaging and Queuing NATS account (defaults to provider `project_id`)
|
|
1129
1129
|
"""
|
|
1130
1130
|
return pulumi.get(self, "project_id")
|
|
1131
1131
|
|
|
@@ -1137,7 +1137,7 @@ class ContainerTriggerNatsArgs:
|
|
|
1137
1137
|
@pulumi.getter
|
|
1138
1138
|
def region(self) -> Optional[pulumi.Input[str]]:
|
|
1139
1139
|
"""
|
|
1140
|
-
Region where the
|
|
1140
|
+
Region where the Messaging and Queuing NATS account is enabled (defaults to provider `region`)
|
|
1141
1141
|
"""
|
|
1142
1142
|
return pulumi.get(self, "region")
|
|
1143
1143
|
|
|
@@ -1150,19 +1150,19 @@ if not MYPY:
|
|
|
1150
1150
|
class ContainerTriggerSqsArgsDict(TypedDict):
|
|
1151
1151
|
queue: pulumi.Input[str]
|
|
1152
1152
|
"""
|
|
1153
|
-
|
|
1153
|
+
The name of the SQS queue.
|
|
1154
1154
|
"""
|
|
1155
1155
|
namespace_id: NotRequired[pulumi.Input[str]]
|
|
1156
1156
|
"""
|
|
1157
|
-
ID of the
|
|
1157
|
+
ID of the Messaging and Queuing namespace. This argument is deprecated.
|
|
1158
1158
|
"""
|
|
1159
1159
|
project_id: NotRequired[pulumi.Input[str]]
|
|
1160
1160
|
"""
|
|
1161
|
-
ID of the project
|
|
1161
|
+
The ID of the project in which SQS is enabled, (defaults to provider `project_id`)
|
|
1162
1162
|
"""
|
|
1163
1163
|
region: NotRequired[pulumi.Input[str]]
|
|
1164
1164
|
"""
|
|
1165
|
-
Region where
|
|
1165
|
+
Region where SQS is enabled (defaults to provider `region`)
|
|
1166
1166
|
"""
|
|
1167
1167
|
elif False:
|
|
1168
1168
|
ContainerTriggerSqsArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -1175,10 +1175,10 @@ class ContainerTriggerSqsArgs:
|
|
|
1175
1175
|
project_id: Optional[pulumi.Input[str]] = None,
|
|
1176
1176
|
region: Optional[pulumi.Input[str]] = None):
|
|
1177
1177
|
"""
|
|
1178
|
-
:param pulumi.Input[str] queue:
|
|
1179
|
-
:param pulumi.Input[str] namespace_id: ID of the
|
|
1180
|
-
:param pulumi.Input[str] project_id: ID of the project
|
|
1181
|
-
:param pulumi.Input[str] region: Region where
|
|
1178
|
+
:param pulumi.Input[str] queue: The name of the SQS queue.
|
|
1179
|
+
:param pulumi.Input[str] namespace_id: ID of the Messaging and Queuing namespace. This argument is deprecated.
|
|
1180
|
+
:param pulumi.Input[str] project_id: The ID of the project in which SQS is enabled, (defaults to provider `project_id`)
|
|
1181
|
+
:param pulumi.Input[str] region: Region where SQS is enabled (defaults to provider `region`)
|
|
1182
1182
|
"""
|
|
1183
1183
|
pulumi.set(__self__, "queue", queue)
|
|
1184
1184
|
if namespace_id is not None:
|
|
@@ -1195,7 +1195,7 @@ class ContainerTriggerSqsArgs:
|
|
|
1195
1195
|
@pulumi.getter
|
|
1196
1196
|
def queue(self) -> pulumi.Input[str]:
|
|
1197
1197
|
"""
|
|
1198
|
-
|
|
1198
|
+
The name of the SQS queue.
|
|
1199
1199
|
"""
|
|
1200
1200
|
return pulumi.get(self, "queue")
|
|
1201
1201
|
|
|
@@ -1208,7 +1208,7 @@ class ContainerTriggerSqsArgs:
|
|
|
1208
1208
|
@_utilities.deprecated("""The 'namespace_id' field is deprecated and will be removed in the next major version. It is no longer necessary to specify it""")
|
|
1209
1209
|
def namespace_id(self) -> Optional[pulumi.Input[str]]:
|
|
1210
1210
|
"""
|
|
1211
|
-
ID of the
|
|
1211
|
+
ID of the Messaging and Queuing namespace. This argument is deprecated.
|
|
1212
1212
|
"""
|
|
1213
1213
|
return pulumi.get(self, "namespace_id")
|
|
1214
1214
|
|
|
@@ -1220,7 +1220,7 @@ class ContainerTriggerSqsArgs:
|
|
|
1220
1220
|
@pulumi.getter(name="projectId")
|
|
1221
1221
|
def project_id(self) -> Optional[pulumi.Input[str]]:
|
|
1222
1222
|
"""
|
|
1223
|
-
ID of the project
|
|
1223
|
+
The ID of the project in which SQS is enabled, (defaults to provider `project_id`)
|
|
1224
1224
|
"""
|
|
1225
1225
|
return pulumi.get(self, "project_id")
|
|
1226
1226
|
|
|
@@ -1232,7 +1232,7 @@ class ContainerTriggerSqsArgs:
|
|
|
1232
1232
|
@pulumi.getter
|
|
1233
1233
|
def region(self) -> Optional[pulumi.Input[str]]:
|
|
1234
1234
|
"""
|
|
1235
|
-
Region where
|
|
1235
|
+
Region where SQS is enabled (defaults to provider `region`)
|
|
1236
1236
|
"""
|
|
1237
1237
|
return pulumi.get(self, "region")
|
|
1238
1238
|
|
|
@@ -2782,19 +2782,19 @@ if not MYPY:
|
|
|
2782
2782
|
class FunctionTriggerNatsArgsDict(TypedDict):
|
|
2783
2783
|
subject: pulumi.Input[str]
|
|
2784
2784
|
"""
|
|
2785
|
-
The subject to listen to
|
|
2785
|
+
The subject to listen to.
|
|
2786
2786
|
"""
|
|
2787
2787
|
account_id: NotRequired[pulumi.Input[str]]
|
|
2788
2788
|
"""
|
|
2789
|
-
|
|
2789
|
+
unique identifier of the Messaging and Queuing NATS account.
|
|
2790
2790
|
"""
|
|
2791
2791
|
project_id: NotRequired[pulumi.Input[str]]
|
|
2792
2792
|
"""
|
|
2793
|
-
ID of the project that
|
|
2793
|
+
THe ID of the project that contains the Messaging and Queuing NATS account (defaults to provider `project_id`)
|
|
2794
2794
|
"""
|
|
2795
2795
|
region: NotRequired[pulumi.Input[str]]
|
|
2796
2796
|
"""
|
|
2797
|
-
Region where the
|
|
2797
|
+
Region where the Messaging and Queuing NATS account is enabled (defaults to provider `region`)
|
|
2798
2798
|
"""
|
|
2799
2799
|
elif False:
|
|
2800
2800
|
FunctionTriggerNatsArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -2807,10 +2807,10 @@ class FunctionTriggerNatsArgs:
|
|
|
2807
2807
|
project_id: Optional[pulumi.Input[str]] = None,
|
|
2808
2808
|
region: Optional[pulumi.Input[str]] = None):
|
|
2809
2809
|
"""
|
|
2810
|
-
:param pulumi.Input[str] subject: The subject to listen to
|
|
2811
|
-
:param pulumi.Input[str] account_id:
|
|
2812
|
-
:param pulumi.Input[str] project_id: ID of the project that
|
|
2813
|
-
:param pulumi.Input[str] region: Region where the
|
|
2810
|
+
:param pulumi.Input[str] subject: The subject to listen to.
|
|
2811
|
+
:param pulumi.Input[str] account_id: unique identifier of the Messaging and Queuing NATS account.
|
|
2812
|
+
:param pulumi.Input[str] project_id: THe ID of the project that contains the Messaging and Queuing NATS account (defaults to provider `project_id`)
|
|
2813
|
+
:param pulumi.Input[str] region: Region where the Messaging and Queuing NATS account is enabled (defaults to provider `region`)
|
|
2814
2814
|
"""
|
|
2815
2815
|
pulumi.set(__self__, "subject", subject)
|
|
2816
2816
|
if account_id is not None:
|
|
@@ -2824,7 +2824,7 @@ class FunctionTriggerNatsArgs:
|
|
|
2824
2824
|
@pulumi.getter
|
|
2825
2825
|
def subject(self) -> pulumi.Input[str]:
|
|
2826
2826
|
"""
|
|
2827
|
-
The subject to listen to
|
|
2827
|
+
The subject to listen to.
|
|
2828
2828
|
"""
|
|
2829
2829
|
return pulumi.get(self, "subject")
|
|
2830
2830
|
|
|
@@ -2836,7 +2836,7 @@ class FunctionTriggerNatsArgs:
|
|
|
2836
2836
|
@pulumi.getter(name="accountId")
|
|
2837
2837
|
def account_id(self) -> Optional[pulumi.Input[str]]:
|
|
2838
2838
|
"""
|
|
2839
|
-
|
|
2839
|
+
unique identifier of the Messaging and Queuing NATS account.
|
|
2840
2840
|
"""
|
|
2841
2841
|
return pulumi.get(self, "account_id")
|
|
2842
2842
|
|
|
@@ -2848,7 +2848,7 @@ class FunctionTriggerNatsArgs:
|
|
|
2848
2848
|
@pulumi.getter(name="projectId")
|
|
2849
2849
|
def project_id(self) -> Optional[pulumi.Input[str]]:
|
|
2850
2850
|
"""
|
|
2851
|
-
ID of the project that
|
|
2851
|
+
THe ID of the project that contains the Messaging and Queuing NATS account (defaults to provider `project_id`)
|
|
2852
2852
|
"""
|
|
2853
2853
|
return pulumi.get(self, "project_id")
|
|
2854
2854
|
|
|
@@ -2860,7 +2860,7 @@ class FunctionTriggerNatsArgs:
|
|
|
2860
2860
|
@pulumi.getter
|
|
2861
2861
|
def region(self) -> Optional[pulumi.Input[str]]:
|
|
2862
2862
|
"""
|
|
2863
|
-
Region where the
|
|
2863
|
+
Region where the Messaging and Queuing NATS account is enabled (defaults to provider `region`)
|
|
2864
2864
|
"""
|
|
2865
2865
|
return pulumi.get(self, "region")
|
|
2866
2866
|
|
|
@@ -2873,19 +2873,19 @@ if not MYPY:
|
|
|
2873
2873
|
class FunctionTriggerSqsArgsDict(TypedDict):
|
|
2874
2874
|
queue: pulumi.Input[str]
|
|
2875
2875
|
"""
|
|
2876
|
-
|
|
2876
|
+
The name of the SQS queue.
|
|
2877
2877
|
"""
|
|
2878
2878
|
namespace_id: NotRequired[pulumi.Input[str]]
|
|
2879
2879
|
"""
|
|
2880
|
-
ID of the
|
|
2880
|
+
ID of the Messaging and Queuing namespace. This argument is deprecated.
|
|
2881
2881
|
"""
|
|
2882
2882
|
project_id: NotRequired[pulumi.Input[str]]
|
|
2883
2883
|
"""
|
|
2884
|
-
ID of the project
|
|
2884
|
+
The ID of the project in which SQS is enabled, (defaults to provider `project_id`)
|
|
2885
2885
|
"""
|
|
2886
2886
|
region: NotRequired[pulumi.Input[str]]
|
|
2887
2887
|
"""
|
|
2888
|
-
Region where
|
|
2888
|
+
Region where SQS is enabled (defaults to provider `region`)
|
|
2889
2889
|
"""
|
|
2890
2890
|
elif False:
|
|
2891
2891
|
FunctionTriggerSqsArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -2898,10 +2898,10 @@ class FunctionTriggerSqsArgs:
|
|
|
2898
2898
|
project_id: Optional[pulumi.Input[str]] = None,
|
|
2899
2899
|
region: Optional[pulumi.Input[str]] = None):
|
|
2900
2900
|
"""
|
|
2901
|
-
:param pulumi.Input[str] queue:
|
|
2902
|
-
:param pulumi.Input[str] namespace_id: ID of the
|
|
2903
|
-
:param pulumi.Input[str] project_id: ID of the project
|
|
2904
|
-
:param pulumi.Input[str] region: Region where
|
|
2901
|
+
:param pulumi.Input[str] queue: The name of the SQS queue.
|
|
2902
|
+
:param pulumi.Input[str] namespace_id: ID of the Messaging and Queuing namespace. This argument is deprecated.
|
|
2903
|
+
:param pulumi.Input[str] project_id: The ID of the project in which SQS is enabled, (defaults to provider `project_id`)
|
|
2904
|
+
:param pulumi.Input[str] region: Region where SQS is enabled (defaults to provider `region`)
|
|
2905
2905
|
"""
|
|
2906
2906
|
pulumi.set(__self__, "queue", queue)
|
|
2907
2907
|
if namespace_id is not None:
|
|
@@ -2918,7 +2918,7 @@ class FunctionTriggerSqsArgs:
|
|
|
2918
2918
|
@pulumi.getter
|
|
2919
2919
|
def queue(self) -> pulumi.Input[str]:
|
|
2920
2920
|
"""
|
|
2921
|
-
|
|
2921
|
+
The name of the SQS queue.
|
|
2922
2922
|
"""
|
|
2923
2923
|
return pulumi.get(self, "queue")
|
|
2924
2924
|
|
|
@@ -2931,7 +2931,7 @@ class FunctionTriggerSqsArgs:
|
|
|
2931
2931
|
@_utilities.deprecated("""The 'namespace_id' field is deprecated and will be removed in the next major version. It is no longer necessary to specify it""")
|
|
2932
2932
|
def namespace_id(self) -> Optional[pulumi.Input[str]]:
|
|
2933
2933
|
"""
|
|
2934
|
-
ID of the
|
|
2934
|
+
ID of the Messaging and Queuing namespace. This argument is deprecated.
|
|
2935
2935
|
"""
|
|
2936
2936
|
return pulumi.get(self, "namespace_id")
|
|
2937
2937
|
|
|
@@ -2943,7 +2943,7 @@ class FunctionTriggerSqsArgs:
|
|
|
2943
2943
|
@pulumi.getter(name="projectId")
|
|
2944
2944
|
def project_id(self) -> Optional[pulumi.Input[str]]:
|
|
2945
2945
|
"""
|
|
2946
|
-
ID of the project
|
|
2946
|
+
The ID of the project in which SQS is enabled, (defaults to provider `project_id`)
|
|
2947
2947
|
"""
|
|
2948
2948
|
return pulumi.get(self, "project_id")
|
|
2949
2949
|
|
|
@@ -2955,7 +2955,7 @@ class FunctionTriggerSqsArgs:
|
|
|
2955
2955
|
@pulumi.getter
|
|
2956
2956
|
def region(self) -> Optional[pulumi.Input[str]]:
|
|
2957
2957
|
"""
|
|
2958
|
-
Region where
|
|
2958
|
+
Region where SQS is enabled (defaults to provider `region`)
|
|
2959
2959
|
"""
|
|
2960
2960
|
return pulumi.get(self, "region")
|
|
2961
2961
|
|
|
@@ -4063,13 +4063,17 @@ if not MYPY:
|
|
|
4063
4063
|
delete_on_termination: NotRequired[pulumi.Input[bool]]
|
|
4064
4064
|
"""
|
|
4065
4065
|
Forces deletion of the root volume on instance termination.
|
|
4066
|
-
|
|
4067
|
-
> **Important:** Updates to `root_volume.size_in_gb` will be ignored after the creation of the server.
|
|
4068
4066
|
"""
|
|
4069
4067
|
name: NotRequired[pulumi.Input[str]]
|
|
4070
4068
|
"""
|
|
4071
4069
|
The name of the server.
|
|
4072
4070
|
"""
|
|
4071
|
+
sbs_iops: NotRequired[pulumi.Input[int]]
|
|
4072
|
+
"""
|
|
4073
|
+
Choose IOPS of your sbs volume, has to be used with `sbs_volume` for root volume type.
|
|
4074
|
+
|
|
4075
|
+
> **Important:** Updates to `root_volume.size_in_gb` will be ignored after the creation of the server.
|
|
4076
|
+
"""
|
|
4073
4077
|
size_in_gb: NotRequired[pulumi.Input[int]]
|
|
4074
4078
|
"""
|
|
4075
4079
|
Size of the root volume in gigabytes.
|
|
@@ -4083,7 +4087,7 @@ if not MYPY:
|
|
|
4083
4087
|
"""
|
|
4084
4088
|
volume_type: NotRequired[pulumi.Input[str]]
|
|
4085
4089
|
"""
|
|
4086
|
-
Volume type of root volume, can be `b_ssd` or `
|
|
4090
|
+
Volume type of root volume, can be `b_ssd`, `l_ssd` or `sbs_volume`, default value depends on server type
|
|
4087
4091
|
"""
|
|
4088
4092
|
elif False:
|
|
4089
4093
|
InstanceServerRootVolumeArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -4094,21 +4098,23 @@ class InstanceServerRootVolumeArgs:
|
|
|
4094
4098
|
boot: Optional[pulumi.Input[bool]] = None,
|
|
4095
4099
|
delete_on_termination: Optional[pulumi.Input[bool]] = None,
|
|
4096
4100
|
name: Optional[pulumi.Input[str]] = None,
|
|
4101
|
+
sbs_iops: Optional[pulumi.Input[int]] = None,
|
|
4097
4102
|
size_in_gb: Optional[pulumi.Input[int]] = None,
|
|
4098
4103
|
volume_id: Optional[pulumi.Input[str]] = None,
|
|
4099
4104
|
volume_type: Optional[pulumi.Input[str]] = None):
|
|
4100
4105
|
"""
|
|
4101
4106
|
:param pulumi.Input[bool] boot: Set the volume where the boot the server
|
|
4102
4107
|
:param pulumi.Input[bool] delete_on_termination: Forces deletion of the root volume on instance termination.
|
|
4108
|
+
:param pulumi.Input[str] name: The name of the server.
|
|
4109
|
+
:param pulumi.Input[int] sbs_iops: Choose IOPS of your sbs volume, has to be used with `sbs_volume` for root volume type.
|
|
4103
4110
|
|
|
4104
4111
|
> **Important:** Updates to `root_volume.size_in_gb` will be ignored after the creation of the server.
|
|
4105
|
-
:param pulumi.Input[str] name: The name of the server.
|
|
4106
4112
|
:param pulumi.Input[int] size_in_gb: Size of the root volume in gigabytes.
|
|
4107
4113
|
To find the right size use [this endpoint](https://www.scaleway.com/en/developers/api/instance/#path-instances-list-all-instances) and
|
|
4108
4114
|
check the `volumes_constraint.{min|max}_size` (in bytes) for your `commercial_type`.
|
|
4109
4115
|
Updates to this field will recreate a new resource.
|
|
4110
4116
|
:param pulumi.Input[str] volume_id: The volume ID of the root volume of the server, allows you to create server with an existing volume. If empty, will be computed to a created volume ID.
|
|
4111
|
-
:param pulumi.Input[str] volume_type: Volume type of root volume, can be `b_ssd` or `
|
|
4117
|
+
:param pulumi.Input[str] volume_type: Volume type of root volume, can be `b_ssd`, `l_ssd` or `sbs_volume`, default value depends on server type
|
|
4112
4118
|
"""
|
|
4113
4119
|
if boot is not None:
|
|
4114
4120
|
pulumi.set(__self__, "boot", boot)
|
|
@@ -4116,6 +4122,8 @@ class InstanceServerRootVolumeArgs:
|
|
|
4116
4122
|
pulumi.set(__self__, "delete_on_termination", delete_on_termination)
|
|
4117
4123
|
if name is not None:
|
|
4118
4124
|
pulumi.set(__self__, "name", name)
|
|
4125
|
+
if sbs_iops is not None:
|
|
4126
|
+
pulumi.set(__self__, "sbs_iops", sbs_iops)
|
|
4119
4127
|
if size_in_gb is not None:
|
|
4120
4128
|
pulumi.set(__self__, "size_in_gb", size_in_gb)
|
|
4121
4129
|
if volume_id is not None:
|
|
@@ -4140,8 +4148,6 @@ class InstanceServerRootVolumeArgs:
|
|
|
4140
4148
|
def delete_on_termination(self) -> Optional[pulumi.Input[bool]]:
|
|
4141
4149
|
"""
|
|
4142
4150
|
Forces deletion of the root volume on instance termination.
|
|
4143
|
-
|
|
4144
|
-
> **Important:** Updates to `root_volume.size_in_gb` will be ignored after the creation of the server.
|
|
4145
4151
|
"""
|
|
4146
4152
|
return pulumi.get(self, "delete_on_termination")
|
|
4147
4153
|
|
|
@@ -4161,6 +4167,20 @@ class InstanceServerRootVolumeArgs:
|
|
|
4161
4167
|
def name(self, value: Optional[pulumi.Input[str]]):
|
|
4162
4168
|
pulumi.set(self, "name", value)
|
|
4163
4169
|
|
|
4170
|
+
@property
|
|
4171
|
+
@pulumi.getter(name="sbsIops")
|
|
4172
|
+
def sbs_iops(self) -> Optional[pulumi.Input[int]]:
|
|
4173
|
+
"""
|
|
4174
|
+
Choose IOPS of your sbs volume, has to be used with `sbs_volume` for root volume type.
|
|
4175
|
+
|
|
4176
|
+
> **Important:** Updates to `root_volume.size_in_gb` will be ignored after the creation of the server.
|
|
4177
|
+
"""
|
|
4178
|
+
return pulumi.get(self, "sbs_iops")
|
|
4179
|
+
|
|
4180
|
+
@sbs_iops.setter
|
|
4181
|
+
def sbs_iops(self, value: Optional[pulumi.Input[int]]):
|
|
4182
|
+
pulumi.set(self, "sbs_iops", value)
|
|
4183
|
+
|
|
4164
4184
|
@property
|
|
4165
4185
|
@pulumi.getter(name="sizeInGb")
|
|
4166
4186
|
def size_in_gb(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -4192,7 +4212,7 @@ class InstanceServerRootVolumeArgs:
|
|
|
4192
4212
|
@pulumi.getter(name="volumeType")
|
|
4193
4213
|
def volume_type(self) -> Optional[pulumi.Input[str]]:
|
|
4194
4214
|
"""
|
|
4195
|
-
Volume type of root volume, can be `b_ssd` or `
|
|
4215
|
+
Volume type of root volume, can be `b_ssd`, `l_ssd` or `sbs_volume`, default value depends on server type
|
|
4196
4216
|
"""
|
|
4197
4217
|
return pulumi.get(self, "volume_type")
|
|
4198
4218
|
|
|
@@ -7004,7 +7024,7 @@ if not MYPY:
|
|
|
7004
7024
|
class ObjectBucketAclAccessControlPolicyGrantGranteeArgsDict(TypedDict):
|
|
7005
7025
|
id: pulumi.Input[str]
|
|
7006
7026
|
"""
|
|
7007
|
-
The `region
|
|
7027
|
+
The `region`, `bucket` and `acl` separated by (`/`).
|
|
7008
7028
|
"""
|
|
7009
7029
|
type: pulumi.Input[str]
|
|
7010
7030
|
"""
|
|
@@ -7021,7 +7041,7 @@ class ObjectBucketAclAccessControlPolicyGrantGranteeArgs:
|
|
|
7021
7041
|
type: pulumi.Input[str],
|
|
7022
7042
|
display_name: Optional[pulumi.Input[str]] = None):
|
|
7023
7043
|
"""
|
|
7024
|
-
:param pulumi.Input[str] id: The `region
|
|
7044
|
+
:param pulumi.Input[str] id: The `region`, `bucket` and `acl` separated by (`/`).
|
|
7025
7045
|
:param pulumi.Input[str] type: Type of grantee. Valid values: `CanonicalUser`
|
|
7026
7046
|
"""
|
|
7027
7047
|
pulumi.set(__self__, "id", id)
|
|
@@ -7033,7 +7053,7 @@ class ObjectBucketAclAccessControlPolicyGrantGranteeArgs:
|
|
|
7033
7053
|
@pulumi.getter
|
|
7034
7054
|
def id(self) -> pulumi.Input[str]:
|
|
7035
7055
|
"""
|
|
7036
|
-
The `region
|
|
7056
|
+
The `region`, `bucket` and `acl` separated by (`/`).
|
|
7037
7057
|
"""
|
|
7038
7058
|
return pulumi.get(self, "id")
|
|
7039
7059
|
|
|
@@ -7067,7 +7087,7 @@ if not MYPY:
|
|
|
7067
7087
|
class ObjectBucketAclAccessControlPolicyOwnerArgsDict(TypedDict):
|
|
7068
7088
|
id: pulumi.Input[str]
|
|
7069
7089
|
"""
|
|
7070
|
-
The `region
|
|
7090
|
+
The `region`, `bucket` and `acl` separated by (`/`).
|
|
7071
7091
|
"""
|
|
7072
7092
|
display_name: NotRequired[pulumi.Input[str]]
|
|
7073
7093
|
"""
|
|
@@ -7082,7 +7102,7 @@ class ObjectBucketAclAccessControlPolicyOwnerArgs:
|
|
|
7082
7102
|
id: pulumi.Input[str],
|
|
7083
7103
|
display_name: Optional[pulumi.Input[str]] = None):
|
|
7084
7104
|
"""
|
|
7085
|
-
:param pulumi.Input[str] id: The `region
|
|
7105
|
+
:param pulumi.Input[str] id: The `region`, `bucket` and `acl` separated by (`/`).
|
|
7086
7106
|
:param pulumi.Input[str] display_name: The project ID of the grantee.
|
|
7087
7107
|
"""
|
|
7088
7108
|
pulumi.set(__self__, "id", id)
|
|
@@ -7093,7 +7113,7 @@ class ObjectBucketAclAccessControlPolicyOwnerArgs:
|
|
|
7093
7113
|
@pulumi.getter
|
|
7094
7114
|
def id(self) -> pulumi.Input[str]:
|
|
7095
7115
|
"""
|
|
7096
|
-
The `region
|
|
7116
|
+
The `region`, `bucket` and `acl` separated by (`/`).
|
|
7097
7117
|
"""
|
|
7098
7118
|
return pulumi.get(self, "id")
|
|
7099
7119
|
|
|
@@ -7118,7 +7138,7 @@ if not MYPY:
|
|
|
7118
7138
|
class ObjectBucketCorsRuleArgsDict(TypedDict):
|
|
7119
7139
|
allowed_methods: pulumi.Input[Sequence[pulumi.Input[str]]]
|
|
7120
7140
|
"""
|
|
7121
|
-
Specifies which methods are allowed
|
|
7141
|
+
Specifies which methods are allowed (`GET`, `PUT`, `POST`, `DELETE` or `HEAD`).
|
|
7122
7142
|
"""
|
|
7123
7143
|
allowed_origins: pulumi.Input[Sequence[pulumi.Input[str]]]
|
|
7124
7144
|
"""
|
|
@@ -7130,11 +7150,11 @@ if not MYPY:
|
|
|
7130
7150
|
"""
|
|
7131
7151
|
expose_headers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
7132
7152
|
"""
|
|
7133
|
-
Specifies
|
|
7153
|
+
Specifies header exposure in the response.
|
|
7134
7154
|
"""
|
|
7135
7155
|
max_age_seconds: NotRequired[pulumi.Input[int]]
|
|
7136
7156
|
"""
|
|
7137
|
-
Specifies time in seconds that browser can cache the response for a preflight request.
|
|
7157
|
+
Specifies time in seconds that the browser can cache the response for a preflight request.
|
|
7138
7158
|
"""
|
|
7139
7159
|
elif False:
|
|
7140
7160
|
ObjectBucketCorsRuleArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -7148,11 +7168,11 @@ class ObjectBucketCorsRuleArgs:
|
|
|
7148
7168
|
expose_headers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
7149
7169
|
max_age_seconds: Optional[pulumi.Input[int]] = None):
|
|
7150
7170
|
"""
|
|
7151
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_methods: Specifies which methods are allowed
|
|
7171
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_methods: Specifies which methods are allowed (`GET`, `PUT`, `POST`, `DELETE` or `HEAD`).
|
|
7152
7172
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_origins: Specifies which origins are allowed.
|
|
7153
7173
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_headers: Specifies which headers are allowed.
|
|
7154
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] expose_headers: Specifies
|
|
7155
|
-
:param pulumi.Input[int] max_age_seconds: Specifies time in seconds that browser can cache the response for a preflight request.
|
|
7174
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] expose_headers: Specifies header exposure in the response.
|
|
7175
|
+
:param pulumi.Input[int] max_age_seconds: Specifies time in seconds that the browser can cache the response for a preflight request.
|
|
7156
7176
|
"""
|
|
7157
7177
|
pulumi.set(__self__, "allowed_methods", allowed_methods)
|
|
7158
7178
|
pulumi.set(__self__, "allowed_origins", allowed_origins)
|
|
@@ -7167,7 +7187,7 @@ class ObjectBucketCorsRuleArgs:
|
|
|
7167
7187
|
@pulumi.getter(name="allowedMethods")
|
|
7168
7188
|
def allowed_methods(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
7169
7189
|
"""
|
|
7170
|
-
Specifies which methods are allowed
|
|
7190
|
+
Specifies which methods are allowed (`GET`, `PUT`, `POST`, `DELETE` or `HEAD`).
|
|
7171
7191
|
"""
|
|
7172
7192
|
return pulumi.get(self, "allowed_methods")
|
|
7173
7193
|
|
|
@@ -7203,7 +7223,7 @@ class ObjectBucketCorsRuleArgs:
|
|
|
7203
7223
|
@pulumi.getter(name="exposeHeaders")
|
|
7204
7224
|
def expose_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
7205
7225
|
"""
|
|
7206
|
-
Specifies
|
|
7226
|
+
Specifies header exposure in the response.
|
|
7207
7227
|
"""
|
|
7208
7228
|
return pulumi.get(self, "expose_headers")
|
|
7209
7229
|
|
|
@@ -7215,7 +7235,7 @@ class ObjectBucketCorsRuleArgs:
|
|
|
7215
7235
|
@pulumi.getter(name="maxAgeSeconds")
|
|
7216
7236
|
def max_age_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
7217
7237
|
"""
|
|
7218
|
-
Specifies time in seconds that browser can cache the response for a preflight request.
|
|
7238
|
+
Specifies time in seconds that the browser can cache the response for a preflight request.
|
|
7219
7239
|
"""
|
|
7220
7240
|
return pulumi.get(self, "max_age_seconds")
|
|
7221
7241
|
|
|
@@ -7228,17 +7248,17 @@ if not MYPY:
|
|
|
7228
7248
|
class ObjectBucketLifecycleRuleArgsDict(TypedDict):
|
|
7229
7249
|
enabled: pulumi.Input[bool]
|
|
7230
7250
|
"""
|
|
7231
|
-
The element value can be either Enabled or Disabled. If a rule is disabled, Scaleway
|
|
7251
|
+
The element value can be either Enabled or Disabled. If a rule is disabled, Scaleway Object Storage does not perform any of the actions defined in the rule.
|
|
7232
7252
|
"""
|
|
7233
7253
|
abort_incomplete_multipart_upload_days: NotRequired[pulumi.Input[int]]
|
|
7234
7254
|
"""
|
|
7235
7255
|
Specifies the number of days after initiating a multipart upload when the multipart upload must be completed.
|
|
7236
7256
|
|
|
7237
|
-
|
|
7257
|
+
> **Important:** Avoid using `prefix` for `AbortIncompleteMultipartUpload`, as any incomplete multipart upload will be billed
|
|
7238
7258
|
"""
|
|
7239
7259
|
expiration: NotRequired[pulumi.Input['ObjectBucketLifecycleRuleExpirationArgsDict']]
|
|
7240
7260
|
"""
|
|
7241
|
-
Specifies a period in the object's expire
|
|
7261
|
+
Specifies a period in the object's expire
|
|
7242
7262
|
"""
|
|
7243
7263
|
id: NotRequired[pulumi.Input[str]]
|
|
7244
7264
|
"""
|
|
@@ -7254,9 +7274,7 @@ if not MYPY:
|
|
|
7254
7274
|
"""
|
|
7255
7275
|
transitions: NotRequired[pulumi.Input[Sequence[pulumi.Input['ObjectBucketLifecycleRuleTransitionArgsDict']]]]
|
|
7256
7276
|
"""
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
At least one of `abort_incomplete_multipart_upload_days`, `expiration`, `transition` must be specified.
|
|
7277
|
+
Define when objects transition to another storage class
|
|
7260
7278
|
"""
|
|
7261
7279
|
elif False:
|
|
7262
7280
|
ObjectBucketLifecycleRuleArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -7272,17 +7290,15 @@ class ObjectBucketLifecycleRuleArgs:
|
|
|
7272
7290
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
7273
7291
|
transitions: Optional[pulumi.Input[Sequence[pulumi.Input['ObjectBucketLifecycleRuleTransitionArgs']]]] = None):
|
|
7274
7292
|
"""
|
|
7275
|
-
:param pulumi.Input[bool] enabled: The element value can be either Enabled or Disabled. If a rule is disabled, Scaleway
|
|
7293
|
+
:param pulumi.Input[bool] enabled: The element value can be either Enabled or Disabled. If a rule is disabled, Scaleway Object Storage does not perform any of the actions defined in the rule.
|
|
7276
7294
|
:param pulumi.Input[int] abort_incomplete_multipart_upload_days: Specifies the number of days after initiating a multipart upload when the multipart upload must be completed.
|
|
7277
7295
|
|
|
7278
|
-
|
|
7279
|
-
:param pulumi.Input['ObjectBucketLifecycleRuleExpirationArgs'] expiration: Specifies a period in the object's expire
|
|
7296
|
+
> **Important:** Avoid using `prefix` for `AbortIncompleteMultipartUpload`, as any incomplete multipart upload will be billed
|
|
7297
|
+
:param pulumi.Input['ObjectBucketLifecycleRuleExpirationArgs'] expiration: Specifies a period in the object's expire
|
|
7280
7298
|
:param pulumi.Input[str] id: Unique identifier for the rule. Must be less than or equal to 255 characters in length.
|
|
7281
7299
|
:param pulumi.Input[str] prefix: Object key prefix identifying one or more objects to which the rule applies.
|
|
7282
7300
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Specifies object tags key and value.
|
|
7283
|
-
:param pulumi.Input[Sequence[pulumi.Input['ObjectBucketLifecycleRuleTransitionArgs']]] transitions:
|
|
7284
|
-
|
|
7285
|
-
At least one of `abort_incomplete_multipart_upload_days`, `expiration`, `transition` must be specified.
|
|
7301
|
+
:param pulumi.Input[Sequence[pulumi.Input['ObjectBucketLifecycleRuleTransitionArgs']]] transitions: Define when objects transition to another storage class
|
|
7286
7302
|
"""
|
|
7287
7303
|
pulumi.set(__self__, "enabled", enabled)
|
|
7288
7304
|
if abort_incomplete_multipart_upload_days is not None:
|
|
@@ -7302,7 +7318,7 @@ class ObjectBucketLifecycleRuleArgs:
|
|
|
7302
7318
|
@pulumi.getter
|
|
7303
7319
|
def enabled(self) -> pulumi.Input[bool]:
|
|
7304
7320
|
"""
|
|
7305
|
-
The element value can be either Enabled or Disabled. If a rule is disabled, Scaleway
|
|
7321
|
+
The element value can be either Enabled or Disabled. If a rule is disabled, Scaleway Object Storage does not perform any of the actions defined in the rule.
|
|
7306
7322
|
"""
|
|
7307
7323
|
return pulumi.get(self, "enabled")
|
|
7308
7324
|
|
|
@@ -7316,7 +7332,7 @@ class ObjectBucketLifecycleRuleArgs:
|
|
|
7316
7332
|
"""
|
|
7317
7333
|
Specifies the number of days after initiating a multipart upload when the multipart upload must be completed.
|
|
7318
7334
|
|
|
7319
|
-
|
|
7335
|
+
> **Important:** Avoid using `prefix` for `AbortIncompleteMultipartUpload`, as any incomplete multipart upload will be billed
|
|
7320
7336
|
"""
|
|
7321
7337
|
return pulumi.get(self, "abort_incomplete_multipart_upload_days")
|
|
7322
7338
|
|
|
@@ -7328,7 +7344,7 @@ class ObjectBucketLifecycleRuleArgs:
|
|
|
7328
7344
|
@pulumi.getter
|
|
7329
7345
|
def expiration(self) -> Optional[pulumi.Input['ObjectBucketLifecycleRuleExpirationArgs']]:
|
|
7330
7346
|
"""
|
|
7331
|
-
Specifies a period in the object's expire
|
|
7347
|
+
Specifies a period in the object's expire
|
|
7332
7348
|
"""
|
|
7333
7349
|
return pulumi.get(self, "expiration")
|
|
7334
7350
|
|
|
@@ -7376,9 +7392,7 @@ class ObjectBucketLifecycleRuleArgs:
|
|
|
7376
7392
|
@pulumi.getter
|
|
7377
7393
|
def transitions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ObjectBucketLifecycleRuleTransitionArgs']]]]:
|
|
7378
7394
|
"""
|
|
7379
|
-
|
|
7380
|
-
|
|
7381
|
-
At least one of `abort_incomplete_multipart_upload_days`, `expiration`, `transition` must be specified.
|
|
7395
|
+
Define when objects transition to another storage class
|
|
7382
7396
|
"""
|
|
7383
7397
|
return pulumi.get(self, "transitions")
|
|
7384
7398
|
|
|
@@ -7392,8 +7406,6 @@ if not MYPY:
|
|
|
7392
7406
|
days: pulumi.Input[int]
|
|
7393
7407
|
"""
|
|
7394
7408
|
Specifies the number of days after object creation when the specific rule action takes effect.
|
|
7395
|
-
|
|
7396
|
-
> **Important:** If versioning is enabled, this rule only deletes the current version of an object.
|
|
7397
7409
|
"""
|
|
7398
7410
|
elif False:
|
|
7399
7411
|
ObjectBucketLifecycleRuleExpirationArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -7404,8 +7416,6 @@ class ObjectBucketLifecycleRuleExpirationArgs:
|
|
|
7404
7416
|
days: pulumi.Input[int]):
|
|
7405
7417
|
"""
|
|
7406
7418
|
:param pulumi.Input[int] days: Specifies the number of days after object creation when the specific rule action takes effect.
|
|
7407
|
-
|
|
7408
|
-
> **Important:** If versioning is enabled, this rule only deletes the current version of an object.
|
|
7409
7419
|
"""
|
|
7410
7420
|
pulumi.set(__self__, "days", days)
|
|
7411
7421
|
|
|
@@ -7414,8 +7424,6 @@ class ObjectBucketLifecycleRuleExpirationArgs:
|
|
|
7414
7424
|
def days(self) -> pulumi.Input[int]:
|
|
7415
7425
|
"""
|
|
7416
7426
|
Specifies the number of days after object creation when the specific rule action takes effect.
|
|
7417
|
-
|
|
7418
|
-
> **Important:** If versioning is enabled, this rule only deletes the current version of an object.
|
|
7419
7427
|
"""
|
|
7420
7428
|
return pulumi.get(self, "days")
|
|
7421
7429
|
|
|
@@ -7430,6 +7438,12 @@ if not MYPY:
|
|
|
7430
7438
|
"""
|
|
7431
7439
|
Specifies the Scaleway [storage class](https://www.scaleway.com/en/docs/storage/object/concepts/#storage-class) `STANDARD`, `GLACIER`, `ONEZONE_IA` to which you want the object to transition.
|
|
7432
7440
|
|
|
7441
|
+
|
|
7442
|
+
> **Important:** If versioning is enabled, this rule only deletes the current version of an object.
|
|
7443
|
+
> **Important:** If versioning is enabled, this rule only deletes the current version of an object.
|
|
7444
|
+
|
|
7445
|
+
|
|
7446
|
+
> **Important:** `ONEZONE_IA` is only available in `fr-par` region. The storage class `GLACIER` is not available in `pl-waw` region.
|
|
7433
7447
|
> **Important:** `ONEZONE_IA` is only available in `fr-par` region. The storage class `GLACIER` is not available in `pl-waw` region.
|
|
7434
7448
|
"""
|
|
7435
7449
|
days: NotRequired[pulumi.Input[int]]
|
|
@@ -7447,6 +7461,12 @@ class ObjectBucketLifecycleRuleTransitionArgs:
|
|
|
7447
7461
|
"""
|
|
7448
7462
|
:param pulumi.Input[str] storage_class: Specifies the Scaleway [storage class](https://www.scaleway.com/en/docs/storage/object/concepts/#storage-class) `STANDARD`, `GLACIER`, `ONEZONE_IA` to which you want the object to transition.
|
|
7449
7463
|
|
|
7464
|
+
|
|
7465
|
+
> **Important:** If versioning is enabled, this rule only deletes the current version of an object.
|
|
7466
|
+
> **Important:** If versioning is enabled, this rule only deletes the current version of an object.
|
|
7467
|
+
|
|
7468
|
+
|
|
7469
|
+
> **Important:** `ONEZONE_IA` is only available in `fr-par` region. The storage class `GLACIER` is not available in `pl-waw` region.
|
|
7450
7470
|
> **Important:** `ONEZONE_IA` is only available in `fr-par` region. The storage class `GLACIER` is not available in `pl-waw` region.
|
|
7451
7471
|
:param pulumi.Input[int] days: Specifies the number of days after object creation when the specific rule action takes effect.
|
|
7452
7472
|
"""
|
|
@@ -7460,6 +7480,12 @@ class ObjectBucketLifecycleRuleTransitionArgs:
|
|
|
7460
7480
|
"""
|
|
7461
7481
|
Specifies the Scaleway [storage class](https://www.scaleway.com/en/docs/storage/object/concepts/#storage-class) `STANDARD`, `GLACIER`, `ONEZONE_IA` to which you want the object to transition.
|
|
7462
7482
|
|
|
7483
|
+
|
|
7484
|
+
> **Important:** If versioning is enabled, this rule only deletes the current version of an object.
|
|
7485
|
+
> **Important:** If versioning is enabled, this rule only deletes the current version of an object.
|
|
7486
|
+
|
|
7487
|
+
|
|
7488
|
+
> **Important:** `ONEZONE_IA` is only available in `fr-par` region. The storage class `GLACIER` is not available in `pl-waw` region.
|
|
7463
7489
|
> **Important:** `ONEZONE_IA` is only available in `fr-par` region. The storage class `GLACIER` is not available in `pl-waw` region.
|
|
7464
7490
|
"""
|
|
7465
7491
|
return pulumi.get(self, "storage_class")
|
|
@@ -7516,15 +7542,15 @@ if not MYPY:
|
|
|
7516
7542
|
class ObjectBucketLockConfigurationRuleDefaultRetentionArgsDict(TypedDict):
|
|
7517
7543
|
mode: pulumi.Input[str]
|
|
7518
7544
|
"""
|
|
7519
|
-
The default
|
|
7545
|
+
The default object lock retention mode you want to apply to new objects placed in the specified bucket. Valid values are `GOVERNANCE` or `COMPLIANCE`. Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/storage/object/api-cli/object-lock/#retention-modes) for more information on retention modes.
|
|
7520
7546
|
"""
|
|
7521
7547
|
days: NotRequired[pulumi.Input[int]]
|
|
7522
7548
|
"""
|
|
7523
|
-
The number of days
|
|
7549
|
+
The number of days you want to specify for the default retention period.
|
|
7524
7550
|
"""
|
|
7525
7551
|
years: NotRequired[pulumi.Input[int]]
|
|
7526
7552
|
"""
|
|
7527
|
-
The number of years
|
|
7553
|
+
The number of years you want to specify for the default retention period.
|
|
7528
7554
|
"""
|
|
7529
7555
|
elif False:
|
|
7530
7556
|
ObjectBucketLockConfigurationRuleDefaultRetentionArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -7536,9 +7562,9 @@ class ObjectBucketLockConfigurationRuleDefaultRetentionArgs:
|
|
|
7536
7562
|
days: Optional[pulumi.Input[int]] = None,
|
|
7537
7563
|
years: Optional[pulumi.Input[int]] = None):
|
|
7538
7564
|
"""
|
|
7539
|
-
:param pulumi.Input[str] mode: The default
|
|
7540
|
-
:param pulumi.Input[int] days: The number of days
|
|
7541
|
-
:param pulumi.Input[int] years: The number of years
|
|
7565
|
+
:param pulumi.Input[str] mode: The default object lock retention mode you want to apply to new objects placed in the specified bucket. Valid values are `GOVERNANCE` or `COMPLIANCE`. Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/storage/object/api-cli/object-lock/#retention-modes) for more information on retention modes.
|
|
7566
|
+
:param pulumi.Input[int] days: The number of days you want to specify for the default retention period.
|
|
7567
|
+
:param pulumi.Input[int] years: The number of years you want to specify for the default retention period.
|
|
7542
7568
|
"""
|
|
7543
7569
|
pulumi.set(__self__, "mode", mode)
|
|
7544
7570
|
if days is not None:
|
|
@@ -7550,7 +7576,7 @@ class ObjectBucketLockConfigurationRuleDefaultRetentionArgs:
|
|
|
7550
7576
|
@pulumi.getter
|
|
7551
7577
|
def mode(self) -> pulumi.Input[str]:
|
|
7552
7578
|
"""
|
|
7553
|
-
The default
|
|
7579
|
+
The default object lock retention mode you want to apply to new objects placed in the specified bucket. Valid values are `GOVERNANCE` or `COMPLIANCE`. Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/storage/object/api-cli/object-lock/#retention-modes) for more information on retention modes.
|
|
7554
7580
|
"""
|
|
7555
7581
|
return pulumi.get(self, "mode")
|
|
7556
7582
|
|
|
@@ -7562,7 +7588,7 @@ class ObjectBucketLockConfigurationRuleDefaultRetentionArgs:
|
|
|
7562
7588
|
@pulumi.getter
|
|
7563
7589
|
def days(self) -> Optional[pulumi.Input[int]]:
|
|
7564
7590
|
"""
|
|
7565
|
-
The number of days
|
|
7591
|
+
The number of days you want to specify for the default retention period.
|
|
7566
7592
|
"""
|
|
7567
7593
|
return pulumi.get(self, "days")
|
|
7568
7594
|
|
|
@@ -7574,7 +7600,7 @@ class ObjectBucketLockConfigurationRuleDefaultRetentionArgs:
|
|
|
7574
7600
|
@pulumi.getter
|
|
7575
7601
|
def years(self) -> Optional[pulumi.Input[int]]:
|
|
7576
7602
|
"""
|
|
7577
|
-
The number of years
|
|
7603
|
+
The number of years you want to specify for the default retention period.
|
|
7578
7604
|
"""
|
|
7579
7605
|
return pulumi.get(self, "years")
|
|
7580
7606
|
|
|
@@ -7650,7 +7676,7 @@ if not MYPY:
|
|
|
7650
7676
|
class ObjectBucketWebsiteConfigurationIndexDocumentArgsDict(TypedDict):
|
|
7651
7677
|
suffix: pulumi.Input[str]
|
|
7652
7678
|
"""
|
|
7653
|
-
A suffix that is appended to a request
|
|
7679
|
+
A suffix that is appended to a request targeting a specific directory on the website endpoint.
|
|
7654
7680
|
|
|
7655
7681
|
> **Important:** The suffix must not be empty and must not include a slash character. The routing is not supported.
|
|
7656
7682
|
"""
|
|
@@ -7662,7 +7688,7 @@ class ObjectBucketWebsiteConfigurationIndexDocumentArgs:
|
|
|
7662
7688
|
def __init__(__self__, *,
|
|
7663
7689
|
suffix: pulumi.Input[str]):
|
|
7664
7690
|
"""
|
|
7665
|
-
:param pulumi.Input[str] suffix: A suffix that is appended to a request
|
|
7691
|
+
:param pulumi.Input[str] suffix: A suffix that is appended to a request targeting a specific directory on the website endpoint.
|
|
7666
7692
|
|
|
7667
7693
|
> **Important:** The suffix must not be empty and must not include a slash character. The routing is not supported.
|
|
7668
7694
|
"""
|
|
@@ -7672,7 +7698,7 @@ class ObjectBucketWebsiteConfigurationIndexDocumentArgs:
|
|
|
7672
7698
|
@pulumi.getter
|
|
7673
7699
|
def suffix(self) -> pulumi.Input[str]:
|
|
7674
7700
|
"""
|
|
7675
|
-
A suffix that is appended to a request
|
|
7701
|
+
A suffix that is appended to a request targeting a specific directory on the website endpoint.
|
|
7676
7702
|
|
|
7677
7703
|
> **Important:** The suffix must not be empty and must not include a slash character. The routing is not supported.
|
|
7678
7704
|
"""
|