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/outputs.py
CHANGED
|
@@ -842,10 +842,10 @@ class ContainerTriggerNats(dict):
|
|
|
842
842
|
project_id: Optional[str] = None,
|
|
843
843
|
region: Optional[str] = None):
|
|
844
844
|
"""
|
|
845
|
-
:param str subject: The subject to listen to
|
|
846
|
-
:param str account_id:
|
|
847
|
-
:param str project_id: ID of the project that
|
|
848
|
-
:param str region: Region where the
|
|
845
|
+
:param str subject: The subject to listen to.
|
|
846
|
+
:param str account_id: unique identifier of the Messaging and Queuing NATS account.
|
|
847
|
+
:param str project_id: THe ID of the project that contains the Messaging and Queuing NATS account (defaults to provider `project_id`)
|
|
848
|
+
:param str region: Region where the Messaging and Queuing NATS account is enabled (defaults to provider `region`)
|
|
849
849
|
"""
|
|
850
850
|
pulumi.set(__self__, "subject", subject)
|
|
851
851
|
if account_id is not None:
|
|
@@ -859,7 +859,7 @@ class ContainerTriggerNats(dict):
|
|
|
859
859
|
@pulumi.getter
|
|
860
860
|
def subject(self) -> str:
|
|
861
861
|
"""
|
|
862
|
-
The subject to listen to
|
|
862
|
+
The subject to listen to.
|
|
863
863
|
"""
|
|
864
864
|
return pulumi.get(self, "subject")
|
|
865
865
|
|
|
@@ -867,7 +867,7 @@ class ContainerTriggerNats(dict):
|
|
|
867
867
|
@pulumi.getter(name="accountId")
|
|
868
868
|
def account_id(self) -> Optional[str]:
|
|
869
869
|
"""
|
|
870
|
-
|
|
870
|
+
unique identifier of the Messaging and Queuing NATS account.
|
|
871
871
|
"""
|
|
872
872
|
return pulumi.get(self, "account_id")
|
|
873
873
|
|
|
@@ -875,7 +875,7 @@ class ContainerTriggerNats(dict):
|
|
|
875
875
|
@pulumi.getter(name="projectId")
|
|
876
876
|
def project_id(self) -> Optional[str]:
|
|
877
877
|
"""
|
|
878
|
-
ID of the project that
|
|
878
|
+
THe ID of the project that contains the Messaging and Queuing NATS account (defaults to provider `project_id`)
|
|
879
879
|
"""
|
|
880
880
|
return pulumi.get(self, "project_id")
|
|
881
881
|
|
|
@@ -883,7 +883,7 @@ class ContainerTriggerNats(dict):
|
|
|
883
883
|
@pulumi.getter
|
|
884
884
|
def region(self) -> Optional[str]:
|
|
885
885
|
"""
|
|
886
|
-
Region where the
|
|
886
|
+
Region where the Messaging and Queuing NATS account is enabled (defaults to provider `region`)
|
|
887
887
|
"""
|
|
888
888
|
return pulumi.get(self, "region")
|
|
889
889
|
|
|
@@ -915,10 +915,10 @@ class ContainerTriggerSqs(dict):
|
|
|
915
915
|
project_id: Optional[str] = None,
|
|
916
916
|
region: Optional[str] = None):
|
|
917
917
|
"""
|
|
918
|
-
:param str queue:
|
|
919
|
-
:param str namespace_id: ID of the
|
|
920
|
-
:param str project_id: ID of the project
|
|
921
|
-
:param str region: Region where
|
|
918
|
+
:param str queue: The name of the SQS queue.
|
|
919
|
+
:param str namespace_id: ID of the Messaging and Queuing namespace. This argument is deprecated.
|
|
920
|
+
:param str project_id: The ID of the project in which SQS is enabled, (defaults to provider `project_id`)
|
|
921
|
+
:param str region: Region where SQS is enabled (defaults to provider `region`)
|
|
922
922
|
"""
|
|
923
923
|
pulumi.set(__self__, "queue", queue)
|
|
924
924
|
if namespace_id is not None:
|
|
@@ -932,7 +932,7 @@ class ContainerTriggerSqs(dict):
|
|
|
932
932
|
@pulumi.getter
|
|
933
933
|
def queue(self) -> str:
|
|
934
934
|
"""
|
|
935
|
-
|
|
935
|
+
The name of the SQS queue.
|
|
936
936
|
"""
|
|
937
937
|
return pulumi.get(self, "queue")
|
|
938
938
|
|
|
@@ -941,7 +941,7 @@ class ContainerTriggerSqs(dict):
|
|
|
941
941
|
@_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""")
|
|
942
942
|
def namespace_id(self) -> Optional[str]:
|
|
943
943
|
"""
|
|
944
|
-
ID of the
|
|
944
|
+
ID of the Messaging and Queuing namespace. This argument is deprecated.
|
|
945
945
|
"""
|
|
946
946
|
return pulumi.get(self, "namespace_id")
|
|
947
947
|
|
|
@@ -949,7 +949,7 @@ class ContainerTriggerSqs(dict):
|
|
|
949
949
|
@pulumi.getter(name="projectId")
|
|
950
950
|
def project_id(self) -> Optional[str]:
|
|
951
951
|
"""
|
|
952
|
-
ID of the project
|
|
952
|
+
The ID of the project in which SQS is enabled, (defaults to provider `project_id`)
|
|
953
953
|
"""
|
|
954
954
|
return pulumi.get(self, "project_id")
|
|
955
955
|
|
|
@@ -957,7 +957,7 @@ class ContainerTriggerSqs(dict):
|
|
|
957
957
|
@pulumi.getter
|
|
958
958
|
def region(self) -> Optional[str]:
|
|
959
959
|
"""
|
|
960
|
-
Region where
|
|
960
|
+
Region where SQS is enabled (defaults to provider `region`)
|
|
961
961
|
"""
|
|
962
962
|
return pulumi.get(self, "region")
|
|
963
963
|
|
|
@@ -2076,10 +2076,10 @@ class FunctionTriggerNats(dict):
|
|
|
2076
2076
|
project_id: Optional[str] = None,
|
|
2077
2077
|
region: Optional[str] = None):
|
|
2078
2078
|
"""
|
|
2079
|
-
:param str subject: The subject to listen to
|
|
2080
|
-
:param str account_id:
|
|
2081
|
-
:param str project_id: ID of the project that
|
|
2082
|
-
:param str region: Region where the
|
|
2079
|
+
:param str subject: The subject to listen to.
|
|
2080
|
+
:param str account_id: unique identifier of the Messaging and Queuing NATS account.
|
|
2081
|
+
:param str project_id: THe ID of the project that contains the Messaging and Queuing NATS account (defaults to provider `project_id`)
|
|
2082
|
+
:param str region: Region where the Messaging and Queuing NATS account is enabled (defaults to provider `region`)
|
|
2083
2083
|
"""
|
|
2084
2084
|
pulumi.set(__self__, "subject", subject)
|
|
2085
2085
|
if account_id is not None:
|
|
@@ -2093,7 +2093,7 @@ class FunctionTriggerNats(dict):
|
|
|
2093
2093
|
@pulumi.getter
|
|
2094
2094
|
def subject(self) -> str:
|
|
2095
2095
|
"""
|
|
2096
|
-
The subject to listen to
|
|
2096
|
+
The subject to listen to.
|
|
2097
2097
|
"""
|
|
2098
2098
|
return pulumi.get(self, "subject")
|
|
2099
2099
|
|
|
@@ -2101,7 +2101,7 @@ class FunctionTriggerNats(dict):
|
|
|
2101
2101
|
@pulumi.getter(name="accountId")
|
|
2102
2102
|
def account_id(self) -> Optional[str]:
|
|
2103
2103
|
"""
|
|
2104
|
-
|
|
2104
|
+
unique identifier of the Messaging and Queuing NATS account.
|
|
2105
2105
|
"""
|
|
2106
2106
|
return pulumi.get(self, "account_id")
|
|
2107
2107
|
|
|
@@ -2109,7 +2109,7 @@ class FunctionTriggerNats(dict):
|
|
|
2109
2109
|
@pulumi.getter(name="projectId")
|
|
2110
2110
|
def project_id(self) -> Optional[str]:
|
|
2111
2111
|
"""
|
|
2112
|
-
ID of the project that
|
|
2112
|
+
THe ID of the project that contains the Messaging and Queuing NATS account (defaults to provider `project_id`)
|
|
2113
2113
|
"""
|
|
2114
2114
|
return pulumi.get(self, "project_id")
|
|
2115
2115
|
|
|
@@ -2117,7 +2117,7 @@ class FunctionTriggerNats(dict):
|
|
|
2117
2117
|
@pulumi.getter
|
|
2118
2118
|
def region(self) -> Optional[str]:
|
|
2119
2119
|
"""
|
|
2120
|
-
Region where the
|
|
2120
|
+
Region where the Messaging and Queuing NATS account is enabled (defaults to provider `region`)
|
|
2121
2121
|
"""
|
|
2122
2122
|
return pulumi.get(self, "region")
|
|
2123
2123
|
|
|
@@ -2149,10 +2149,10 @@ class FunctionTriggerSqs(dict):
|
|
|
2149
2149
|
project_id: Optional[str] = None,
|
|
2150
2150
|
region: Optional[str] = None):
|
|
2151
2151
|
"""
|
|
2152
|
-
:param str queue:
|
|
2153
|
-
:param str namespace_id: ID of the
|
|
2154
|
-
:param str project_id: ID of the project
|
|
2155
|
-
:param str region: Region where
|
|
2152
|
+
:param str queue: The name of the SQS queue.
|
|
2153
|
+
:param str namespace_id: ID of the Messaging and Queuing namespace. This argument is deprecated.
|
|
2154
|
+
:param str project_id: The ID of the project in which SQS is enabled, (defaults to provider `project_id`)
|
|
2155
|
+
:param str region: Region where SQS is enabled (defaults to provider `region`)
|
|
2156
2156
|
"""
|
|
2157
2157
|
pulumi.set(__self__, "queue", queue)
|
|
2158
2158
|
if namespace_id is not None:
|
|
@@ -2166,7 +2166,7 @@ class FunctionTriggerSqs(dict):
|
|
|
2166
2166
|
@pulumi.getter
|
|
2167
2167
|
def queue(self) -> str:
|
|
2168
2168
|
"""
|
|
2169
|
-
|
|
2169
|
+
The name of the SQS queue.
|
|
2170
2170
|
"""
|
|
2171
2171
|
return pulumi.get(self, "queue")
|
|
2172
2172
|
|
|
@@ -2175,7 +2175,7 @@ class FunctionTriggerSqs(dict):
|
|
|
2175
2175
|
@_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""")
|
|
2176
2176
|
def namespace_id(self) -> Optional[str]:
|
|
2177
2177
|
"""
|
|
2178
|
-
ID of the
|
|
2178
|
+
ID of the Messaging and Queuing namespace. This argument is deprecated.
|
|
2179
2179
|
"""
|
|
2180
2180
|
return pulumi.get(self, "namespace_id")
|
|
2181
2181
|
|
|
@@ -2183,7 +2183,7 @@ class FunctionTriggerSqs(dict):
|
|
|
2183
2183
|
@pulumi.getter(name="projectId")
|
|
2184
2184
|
def project_id(self) -> Optional[str]:
|
|
2185
2185
|
"""
|
|
2186
|
-
ID of the project
|
|
2186
|
+
The ID of the project in which SQS is enabled, (defaults to provider `project_id`)
|
|
2187
2187
|
"""
|
|
2188
2188
|
return pulumi.get(self, "project_id")
|
|
2189
2189
|
|
|
@@ -2191,7 +2191,7 @@ class FunctionTriggerSqs(dict):
|
|
|
2191
2191
|
@pulumi.getter
|
|
2192
2192
|
def region(self) -> Optional[str]:
|
|
2193
2193
|
"""
|
|
2194
|
-
Region where
|
|
2194
|
+
Region where SQS is enabled (defaults to provider `region`)
|
|
2195
2195
|
"""
|
|
2196
2196
|
return pulumi.get(self, "region")
|
|
2197
2197
|
|
|
@@ -2990,6 +2990,8 @@ class InstanceServerRootVolume(dict):
|
|
|
2990
2990
|
suggest = None
|
|
2991
2991
|
if key == "deleteOnTermination":
|
|
2992
2992
|
suggest = "delete_on_termination"
|
|
2993
|
+
elif key == "sbsIops":
|
|
2994
|
+
suggest = "sbs_iops"
|
|
2993
2995
|
elif key == "sizeInGb":
|
|
2994
2996
|
suggest = "size_in_gb"
|
|
2995
2997
|
elif key == "volumeId":
|
|
@@ -3012,21 +3014,23 @@ class InstanceServerRootVolume(dict):
|
|
|
3012
3014
|
boot: Optional[bool] = None,
|
|
3013
3015
|
delete_on_termination: Optional[bool] = None,
|
|
3014
3016
|
name: Optional[str] = None,
|
|
3017
|
+
sbs_iops: Optional[int] = None,
|
|
3015
3018
|
size_in_gb: Optional[int] = None,
|
|
3016
3019
|
volume_id: Optional[str] = None,
|
|
3017
3020
|
volume_type: Optional[str] = None):
|
|
3018
3021
|
"""
|
|
3019
3022
|
:param bool boot: Set the volume where the boot the server
|
|
3020
3023
|
:param bool delete_on_termination: Forces deletion of the root volume on instance termination.
|
|
3024
|
+
:param str name: The name of the server.
|
|
3025
|
+
:param int sbs_iops: Choose IOPS of your sbs volume, has to be used with `sbs_volume` for root volume type.
|
|
3021
3026
|
|
|
3022
3027
|
> **Important:** Updates to `root_volume.size_in_gb` will be ignored after the creation of the server.
|
|
3023
|
-
:param str name: The name of the server.
|
|
3024
3028
|
:param int size_in_gb: Size of the root volume in gigabytes.
|
|
3025
3029
|
To find the right size use [this endpoint](https://www.scaleway.com/en/developers/api/instance/#path-instances-list-all-instances) and
|
|
3026
3030
|
check the `volumes_constraint.{min|max}_size` (in bytes) for your `commercial_type`.
|
|
3027
3031
|
Updates to this field will recreate a new resource.
|
|
3028
3032
|
:param 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.
|
|
3029
|
-
:param str volume_type: Volume type of root volume, can be `b_ssd` or `
|
|
3033
|
+
:param str volume_type: Volume type of root volume, can be `b_ssd`, `l_ssd` or `sbs_volume`, default value depends on server type
|
|
3030
3034
|
"""
|
|
3031
3035
|
if boot is not None:
|
|
3032
3036
|
pulumi.set(__self__, "boot", boot)
|
|
@@ -3034,6 +3038,8 @@ class InstanceServerRootVolume(dict):
|
|
|
3034
3038
|
pulumi.set(__self__, "delete_on_termination", delete_on_termination)
|
|
3035
3039
|
if name is not None:
|
|
3036
3040
|
pulumi.set(__self__, "name", name)
|
|
3041
|
+
if sbs_iops is not None:
|
|
3042
|
+
pulumi.set(__self__, "sbs_iops", sbs_iops)
|
|
3037
3043
|
if size_in_gb is not None:
|
|
3038
3044
|
pulumi.set(__self__, "size_in_gb", size_in_gb)
|
|
3039
3045
|
if volume_id is not None:
|
|
@@ -3054,8 +3060,6 @@ class InstanceServerRootVolume(dict):
|
|
|
3054
3060
|
def delete_on_termination(self) -> Optional[bool]:
|
|
3055
3061
|
"""
|
|
3056
3062
|
Forces deletion of the root volume on instance termination.
|
|
3057
|
-
|
|
3058
|
-
> **Important:** Updates to `root_volume.size_in_gb` will be ignored after the creation of the server.
|
|
3059
3063
|
"""
|
|
3060
3064
|
return pulumi.get(self, "delete_on_termination")
|
|
3061
3065
|
|
|
@@ -3067,6 +3071,16 @@ class InstanceServerRootVolume(dict):
|
|
|
3067
3071
|
"""
|
|
3068
3072
|
return pulumi.get(self, "name")
|
|
3069
3073
|
|
|
3074
|
+
@property
|
|
3075
|
+
@pulumi.getter(name="sbsIops")
|
|
3076
|
+
def sbs_iops(self) -> Optional[int]:
|
|
3077
|
+
"""
|
|
3078
|
+
Choose IOPS of your sbs volume, has to be used with `sbs_volume` for root volume type.
|
|
3079
|
+
|
|
3080
|
+
> **Important:** Updates to `root_volume.size_in_gb` will be ignored after the creation of the server.
|
|
3081
|
+
"""
|
|
3082
|
+
return pulumi.get(self, "sbs_iops")
|
|
3083
|
+
|
|
3070
3084
|
@property
|
|
3071
3085
|
@pulumi.getter(name="sizeInGb")
|
|
3072
3086
|
def size_in_gb(self) -> Optional[int]:
|
|
@@ -3090,7 +3104,7 @@ class InstanceServerRootVolume(dict):
|
|
|
3090
3104
|
@pulumi.getter(name="volumeType")
|
|
3091
3105
|
def volume_type(self) -> Optional[str]:
|
|
3092
3106
|
"""
|
|
3093
|
-
Volume type of root volume, can be `b_ssd` or `
|
|
3107
|
+
Volume type of root volume, can be `b_ssd`, `l_ssd` or `sbs_volume`, default value depends on server type
|
|
3094
3108
|
"""
|
|
3095
3109
|
return pulumi.get(self, "volume_type")
|
|
3096
3110
|
|
|
@@ -5168,7 +5182,7 @@ class ObjectBucketAclAccessControlPolicyGrantGrantee(dict):
|
|
|
5168
5182
|
type: str,
|
|
5169
5183
|
display_name: Optional[str] = None):
|
|
5170
5184
|
"""
|
|
5171
|
-
:param str id: The `region
|
|
5185
|
+
:param str id: The `region`, `bucket` and `acl` separated by (`/`).
|
|
5172
5186
|
:param str type: Type of grantee. Valid values: `CanonicalUser`
|
|
5173
5187
|
"""
|
|
5174
5188
|
pulumi.set(__self__, "id", id)
|
|
@@ -5180,7 +5194,7 @@ class ObjectBucketAclAccessControlPolicyGrantGrantee(dict):
|
|
|
5180
5194
|
@pulumi.getter
|
|
5181
5195
|
def id(self) -> str:
|
|
5182
5196
|
"""
|
|
5183
|
-
The `region
|
|
5197
|
+
The `region`, `bucket` and `acl` separated by (`/`).
|
|
5184
5198
|
"""
|
|
5185
5199
|
return pulumi.get(self, "id")
|
|
5186
5200
|
|
|
@@ -5221,7 +5235,7 @@ class ObjectBucketAclAccessControlPolicyOwner(dict):
|
|
|
5221
5235
|
id: str,
|
|
5222
5236
|
display_name: Optional[str] = None):
|
|
5223
5237
|
"""
|
|
5224
|
-
:param str id: The `region
|
|
5238
|
+
:param str id: The `region`, `bucket` and `acl` separated by (`/`).
|
|
5225
5239
|
:param str display_name: The project ID of the grantee.
|
|
5226
5240
|
"""
|
|
5227
5241
|
pulumi.set(__self__, "id", id)
|
|
@@ -5232,7 +5246,7 @@ class ObjectBucketAclAccessControlPolicyOwner(dict):
|
|
|
5232
5246
|
@pulumi.getter
|
|
5233
5247
|
def id(self) -> str:
|
|
5234
5248
|
"""
|
|
5235
|
-
The `region
|
|
5249
|
+
The `region`, `bucket` and `acl` separated by (`/`).
|
|
5236
5250
|
"""
|
|
5237
5251
|
return pulumi.get(self, "id")
|
|
5238
5252
|
|
|
@@ -5279,11 +5293,11 @@ class ObjectBucketCorsRule(dict):
|
|
|
5279
5293
|
expose_headers: Optional[Sequence[str]] = None,
|
|
5280
5294
|
max_age_seconds: Optional[int] = None):
|
|
5281
5295
|
"""
|
|
5282
|
-
:param Sequence[str] allowed_methods: Specifies which methods are allowed
|
|
5296
|
+
:param Sequence[str] allowed_methods: Specifies which methods are allowed (`GET`, `PUT`, `POST`, `DELETE` or `HEAD`).
|
|
5283
5297
|
:param Sequence[str] allowed_origins: Specifies which origins are allowed.
|
|
5284
5298
|
:param Sequence[str] allowed_headers: Specifies which headers are allowed.
|
|
5285
|
-
:param Sequence[str] expose_headers: Specifies
|
|
5286
|
-
:param int max_age_seconds: Specifies time in seconds that browser can cache the response for a preflight request.
|
|
5299
|
+
:param Sequence[str] expose_headers: Specifies header exposure in the response.
|
|
5300
|
+
:param int max_age_seconds: Specifies time in seconds that the browser can cache the response for a preflight request.
|
|
5287
5301
|
"""
|
|
5288
5302
|
pulumi.set(__self__, "allowed_methods", allowed_methods)
|
|
5289
5303
|
pulumi.set(__self__, "allowed_origins", allowed_origins)
|
|
@@ -5298,7 +5312,7 @@ class ObjectBucketCorsRule(dict):
|
|
|
5298
5312
|
@pulumi.getter(name="allowedMethods")
|
|
5299
5313
|
def allowed_methods(self) -> Sequence[str]:
|
|
5300
5314
|
"""
|
|
5301
|
-
Specifies which methods are allowed
|
|
5315
|
+
Specifies which methods are allowed (`GET`, `PUT`, `POST`, `DELETE` or `HEAD`).
|
|
5302
5316
|
"""
|
|
5303
5317
|
return pulumi.get(self, "allowed_methods")
|
|
5304
5318
|
|
|
@@ -5322,7 +5336,7 @@ class ObjectBucketCorsRule(dict):
|
|
|
5322
5336
|
@pulumi.getter(name="exposeHeaders")
|
|
5323
5337
|
def expose_headers(self) -> Optional[Sequence[str]]:
|
|
5324
5338
|
"""
|
|
5325
|
-
Specifies
|
|
5339
|
+
Specifies header exposure in the response.
|
|
5326
5340
|
"""
|
|
5327
5341
|
return pulumi.get(self, "expose_headers")
|
|
5328
5342
|
|
|
@@ -5330,7 +5344,7 @@ class ObjectBucketCorsRule(dict):
|
|
|
5330
5344
|
@pulumi.getter(name="maxAgeSeconds")
|
|
5331
5345
|
def max_age_seconds(self) -> Optional[int]:
|
|
5332
5346
|
"""
|
|
5333
|
-
Specifies time in seconds that browser can cache the response for a preflight request.
|
|
5347
|
+
Specifies time in seconds that the browser can cache the response for a preflight request.
|
|
5334
5348
|
"""
|
|
5335
5349
|
return pulumi.get(self, "max_age_seconds")
|
|
5336
5350
|
|
|
@@ -5363,17 +5377,15 @@ class ObjectBucketLifecycleRule(dict):
|
|
|
5363
5377
|
tags: Optional[Mapping[str, str]] = None,
|
|
5364
5378
|
transitions: Optional[Sequence['outputs.ObjectBucketLifecycleRuleTransition']] = None):
|
|
5365
5379
|
"""
|
|
5366
|
-
:param bool enabled: The element value can be either Enabled or Disabled. If a rule is disabled, Scaleway
|
|
5380
|
+
:param 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.
|
|
5367
5381
|
:param int abort_incomplete_multipart_upload_days: Specifies the number of days after initiating a multipart upload when the multipart upload must be completed.
|
|
5368
5382
|
|
|
5369
|
-
|
|
5370
|
-
:param 'ObjectBucketLifecycleRuleExpirationArgs' expiration: Specifies a period in the object's expire
|
|
5383
|
+
> **Important:** Avoid using `prefix` for `AbortIncompleteMultipartUpload`, as any incomplete multipart upload will be billed
|
|
5384
|
+
:param 'ObjectBucketLifecycleRuleExpirationArgs' expiration: Specifies a period in the object's expire
|
|
5371
5385
|
:param str id: Unique identifier for the rule. Must be less than or equal to 255 characters in length.
|
|
5372
5386
|
:param str prefix: Object key prefix identifying one or more objects to which the rule applies.
|
|
5373
5387
|
:param Mapping[str, str] tags: Specifies object tags key and value.
|
|
5374
|
-
:param Sequence['ObjectBucketLifecycleRuleTransitionArgs'] transitions:
|
|
5375
|
-
|
|
5376
|
-
At least one of `abort_incomplete_multipart_upload_days`, `expiration`, `transition` must be specified.
|
|
5388
|
+
:param Sequence['ObjectBucketLifecycleRuleTransitionArgs'] transitions: Define when objects transition to another storage class
|
|
5377
5389
|
"""
|
|
5378
5390
|
pulumi.set(__self__, "enabled", enabled)
|
|
5379
5391
|
if abort_incomplete_multipart_upload_days is not None:
|
|
@@ -5393,7 +5405,7 @@ class ObjectBucketLifecycleRule(dict):
|
|
|
5393
5405
|
@pulumi.getter
|
|
5394
5406
|
def enabled(self) -> bool:
|
|
5395
5407
|
"""
|
|
5396
|
-
The element value can be either Enabled or Disabled. If a rule is disabled, Scaleway
|
|
5408
|
+
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.
|
|
5397
5409
|
"""
|
|
5398
5410
|
return pulumi.get(self, "enabled")
|
|
5399
5411
|
|
|
@@ -5403,7 +5415,7 @@ class ObjectBucketLifecycleRule(dict):
|
|
|
5403
5415
|
"""
|
|
5404
5416
|
Specifies the number of days after initiating a multipart upload when the multipart upload must be completed.
|
|
5405
5417
|
|
|
5406
|
-
|
|
5418
|
+
> **Important:** Avoid using `prefix` for `AbortIncompleteMultipartUpload`, as any incomplete multipart upload will be billed
|
|
5407
5419
|
"""
|
|
5408
5420
|
return pulumi.get(self, "abort_incomplete_multipart_upload_days")
|
|
5409
5421
|
|
|
@@ -5411,7 +5423,7 @@ class ObjectBucketLifecycleRule(dict):
|
|
|
5411
5423
|
@pulumi.getter
|
|
5412
5424
|
def expiration(self) -> Optional['outputs.ObjectBucketLifecycleRuleExpiration']:
|
|
5413
5425
|
"""
|
|
5414
|
-
Specifies a period in the object's expire
|
|
5426
|
+
Specifies a period in the object's expire
|
|
5415
5427
|
"""
|
|
5416
5428
|
return pulumi.get(self, "expiration")
|
|
5417
5429
|
|
|
@@ -5443,9 +5455,7 @@ class ObjectBucketLifecycleRule(dict):
|
|
|
5443
5455
|
@pulumi.getter
|
|
5444
5456
|
def transitions(self) -> Optional[Sequence['outputs.ObjectBucketLifecycleRuleTransition']]:
|
|
5445
5457
|
"""
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
At least one of `abort_incomplete_multipart_upload_days`, `expiration`, `transition` must be specified.
|
|
5458
|
+
Define when objects transition to another storage class
|
|
5449
5459
|
"""
|
|
5450
5460
|
return pulumi.get(self, "transitions")
|
|
5451
5461
|
|
|
@@ -5456,8 +5466,6 @@ class ObjectBucketLifecycleRuleExpiration(dict):
|
|
|
5456
5466
|
days: int):
|
|
5457
5467
|
"""
|
|
5458
5468
|
:param int days: Specifies the number of days after object creation when the specific rule action takes effect.
|
|
5459
|
-
|
|
5460
|
-
> **Important:** If versioning is enabled, this rule only deletes the current version of an object.
|
|
5461
5469
|
"""
|
|
5462
5470
|
pulumi.set(__self__, "days", days)
|
|
5463
5471
|
|
|
@@ -5466,8 +5474,6 @@ class ObjectBucketLifecycleRuleExpiration(dict):
|
|
|
5466
5474
|
def days(self) -> int:
|
|
5467
5475
|
"""
|
|
5468
5476
|
Specifies the number of days after object creation when the specific rule action takes effect.
|
|
5469
|
-
|
|
5470
|
-
> **Important:** If versioning is enabled, this rule only deletes the current version of an object.
|
|
5471
5477
|
"""
|
|
5472
5478
|
return pulumi.get(self, "days")
|
|
5473
5479
|
|
|
@@ -5497,6 +5503,12 @@ class ObjectBucketLifecycleRuleTransition(dict):
|
|
|
5497
5503
|
"""
|
|
5498
5504
|
:param 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.
|
|
5499
5505
|
|
|
5506
|
+
|
|
5507
|
+
> **Important:** If versioning is enabled, this rule only deletes the current version of an object.
|
|
5508
|
+
> **Important:** If versioning is enabled, this rule only deletes the current version of an object.
|
|
5509
|
+
|
|
5510
|
+
|
|
5511
|
+
> **Important:** `ONEZONE_IA` is only available in `fr-par` region. The storage class `GLACIER` is not available in `pl-waw` region.
|
|
5500
5512
|
> **Important:** `ONEZONE_IA` is only available in `fr-par` region. The storage class `GLACIER` is not available in `pl-waw` region.
|
|
5501
5513
|
:param int days: Specifies the number of days after object creation when the specific rule action takes effect.
|
|
5502
5514
|
"""
|
|
@@ -5510,6 +5522,12 @@ class ObjectBucketLifecycleRuleTransition(dict):
|
|
|
5510
5522
|
"""
|
|
5511
5523
|
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.
|
|
5512
5524
|
|
|
5525
|
+
|
|
5526
|
+
> **Important:** If versioning is enabled, this rule only deletes the current version of an object.
|
|
5527
|
+
> **Important:** If versioning is enabled, this rule only deletes the current version of an object.
|
|
5528
|
+
|
|
5529
|
+
|
|
5530
|
+
> **Important:** `ONEZONE_IA` is only available in `fr-par` region. The storage class `GLACIER` is not available in `pl-waw` region.
|
|
5513
5531
|
> **Important:** `ONEZONE_IA` is only available in `fr-par` region. The storage class `GLACIER` is not available in `pl-waw` region.
|
|
5514
5532
|
"""
|
|
5515
5533
|
return pulumi.get(self, "storage_class")
|
|
@@ -5565,9 +5583,9 @@ class ObjectBucketLockConfigurationRuleDefaultRetention(dict):
|
|
|
5565
5583
|
days: Optional[int] = None,
|
|
5566
5584
|
years: Optional[int] = None):
|
|
5567
5585
|
"""
|
|
5568
|
-
:param str mode: The default
|
|
5569
|
-
:param int days: The number of days
|
|
5570
|
-
:param int years: The number of years
|
|
5586
|
+
:param 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.
|
|
5587
|
+
:param int days: The number of days you want to specify for the default retention period.
|
|
5588
|
+
:param int years: The number of years you want to specify for the default retention period.
|
|
5571
5589
|
"""
|
|
5572
5590
|
pulumi.set(__self__, "mode", mode)
|
|
5573
5591
|
if days is not None:
|
|
@@ -5579,7 +5597,7 @@ class ObjectBucketLockConfigurationRuleDefaultRetention(dict):
|
|
|
5579
5597
|
@pulumi.getter
|
|
5580
5598
|
def mode(self) -> str:
|
|
5581
5599
|
"""
|
|
5582
|
-
The default
|
|
5600
|
+
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.
|
|
5583
5601
|
"""
|
|
5584
5602
|
return pulumi.get(self, "mode")
|
|
5585
5603
|
|
|
@@ -5587,7 +5605,7 @@ class ObjectBucketLockConfigurationRuleDefaultRetention(dict):
|
|
|
5587
5605
|
@pulumi.getter
|
|
5588
5606
|
def days(self) -> Optional[int]:
|
|
5589
5607
|
"""
|
|
5590
|
-
The number of days
|
|
5608
|
+
The number of days you want to specify for the default retention period.
|
|
5591
5609
|
"""
|
|
5592
5610
|
return pulumi.get(self, "days")
|
|
5593
5611
|
|
|
@@ -5595,7 +5613,7 @@ class ObjectBucketLockConfigurationRuleDefaultRetention(dict):
|
|
|
5595
5613
|
@pulumi.getter
|
|
5596
5614
|
def years(self) -> Optional[int]:
|
|
5597
5615
|
"""
|
|
5598
|
-
The number of years
|
|
5616
|
+
The number of years you want to specify for the default retention period.
|
|
5599
5617
|
"""
|
|
5600
5618
|
return pulumi.get(self, "years")
|
|
5601
5619
|
|
|
@@ -5642,7 +5660,7 @@ class ObjectBucketWebsiteConfigurationIndexDocument(dict):
|
|
|
5642
5660
|
def __init__(__self__, *,
|
|
5643
5661
|
suffix: str):
|
|
5644
5662
|
"""
|
|
5645
|
-
:param str suffix: A suffix that is appended to a request
|
|
5663
|
+
:param str suffix: A suffix that is appended to a request targeting a specific directory on the website endpoint.
|
|
5646
5664
|
|
|
5647
5665
|
> **Important:** The suffix must not be empty and must not include a slash character. The routing is not supported.
|
|
5648
5666
|
"""
|
|
@@ -5652,7 +5670,7 @@ class ObjectBucketWebsiteConfigurationIndexDocument(dict):
|
|
|
5652
5670
|
@pulumi.getter
|
|
5653
5671
|
def suffix(self) -> str:
|
|
5654
5672
|
"""
|
|
5655
|
-
A suffix that is appended to a request
|
|
5673
|
+
A suffix that is appended to a request targeting a specific directory on the website endpoint.
|
|
5656
5674
|
|
|
5657
5675
|
> **Important:** The suffix must not be empty and must not include a slash character. The routing is not supported.
|
|
5658
5676
|
"""
|
|
@@ -8006,6 +8024,7 @@ class GetInstanceServerRootVolumeResult(dict):
|
|
|
8006
8024
|
boot: bool,
|
|
8007
8025
|
delete_on_termination: bool,
|
|
8008
8026
|
name: str,
|
|
8027
|
+
sbs_iops: int,
|
|
8009
8028
|
size_in_gb: int,
|
|
8010
8029
|
volume_id: str,
|
|
8011
8030
|
volume_type: str):
|
|
@@ -8013,6 +8032,7 @@ class GetInstanceServerRootVolumeResult(dict):
|
|
|
8013
8032
|
:param bool boot: Set the volume where the boot the server
|
|
8014
8033
|
:param bool delete_on_termination: Forces deletion of the root volume on instance termination.
|
|
8015
8034
|
:param str name: The server name. Only one of `name` and `server_id` should be specified.
|
|
8035
|
+
:param int sbs_iops: SBS Volume IOPS, only with volume_type as sbs_volume
|
|
8016
8036
|
:param int size_in_gb: Size of the root volume in gigabytes.
|
|
8017
8037
|
:param str volume_id: The volume ID of the root volume of the server.
|
|
8018
8038
|
:param str volume_type: Volume type of the root volume
|
|
@@ -8020,6 +8040,7 @@ class GetInstanceServerRootVolumeResult(dict):
|
|
|
8020
8040
|
pulumi.set(__self__, "boot", boot)
|
|
8021
8041
|
pulumi.set(__self__, "delete_on_termination", delete_on_termination)
|
|
8022
8042
|
pulumi.set(__self__, "name", name)
|
|
8043
|
+
pulumi.set(__self__, "sbs_iops", sbs_iops)
|
|
8023
8044
|
pulumi.set(__self__, "size_in_gb", size_in_gb)
|
|
8024
8045
|
pulumi.set(__self__, "volume_id", volume_id)
|
|
8025
8046
|
pulumi.set(__self__, "volume_type", volume_type)
|
|
@@ -8048,6 +8069,14 @@ class GetInstanceServerRootVolumeResult(dict):
|
|
|
8048
8069
|
"""
|
|
8049
8070
|
return pulumi.get(self, "name")
|
|
8050
8071
|
|
|
8072
|
+
@property
|
|
8073
|
+
@pulumi.getter(name="sbsIops")
|
|
8074
|
+
def sbs_iops(self) -> int:
|
|
8075
|
+
"""
|
|
8076
|
+
SBS Volume IOPS, only with volume_type as sbs_volume
|
|
8077
|
+
"""
|
|
8078
|
+
return pulumi.get(self, "sbs_iops")
|
|
8079
|
+
|
|
8051
8080
|
@property
|
|
8052
8081
|
@pulumi.getter(name="sizeInGb")
|
|
8053
8082
|
def size_in_gb(self) -> int:
|
|
@@ -10825,7 +10854,7 @@ class GetObjectBucketLifecycleRuleResult(dict):
|
|
|
10825
10854
|
:param int abort_incomplete_multipart_upload_days: Specifies the number of days after initiating a multipart upload when the multipart upload must be completed
|
|
10826
10855
|
:param bool enabled: Specifies if the configuration rule is Enabled or Disabled
|
|
10827
10856
|
:param Sequence['GetObjectBucketLifecycleRuleExpirationArgs'] expirations: Specifies a period in the object's expire
|
|
10828
|
-
:param str id: The unique
|
|
10857
|
+
:param str id: The unique identifier of the bucket.
|
|
10829
10858
|
:param str prefix: The prefix identifying one or more objects to which the rule applies
|
|
10830
10859
|
:param Mapping[str, str] tags: The tags associated with the bucket lifecycle
|
|
10831
10860
|
:param Sequence['GetObjectBucketLifecycleRuleTransitionArgs'] transitions: Define when objects transition to another storage class
|
|
@@ -10866,7 +10895,7 @@ class GetObjectBucketLifecycleRuleResult(dict):
|
|
|
10866
10895
|
@pulumi.getter
|
|
10867
10896
|
def id(self) -> str:
|
|
10868
10897
|
"""
|
|
10869
|
-
The unique
|
|
10898
|
+
The unique identifier of the bucket.
|
|
10870
10899
|
"""
|
|
10871
10900
|
return pulumi.get(self, "id")
|
|
10872
10901
|
|