pulumi-digitalocean 4.41.0a1742794810__py3-none-any.whl → 4.42.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 pulumi-digitalocean might be problematic. Click here for more details.
- pulumi_digitalocean/__init__.py +21 -0
- pulumi_digitalocean/_enums.py +10 -8
- pulumi_digitalocean/_inputs.py +2936 -2693
- pulumi_digitalocean/app.py +64 -63
- pulumi_digitalocean/cdn.py +85 -84
- pulumi_digitalocean/certificate.py +111 -110
- pulumi_digitalocean/config/__init__.py +1 -0
- pulumi_digitalocean/config/__init__.pyi +1 -0
- pulumi_digitalocean/config/vars.py +1 -0
- pulumi_digitalocean/container_registry.py +71 -70
- pulumi_digitalocean/container_registry_docker_credentials.py +57 -56
- pulumi_digitalocean/custom_image.py +141 -140
- pulumi_digitalocean/database_cluster.py +274 -273
- pulumi_digitalocean/database_connection_pool.py +127 -126
- pulumi_digitalocean/database_db.py +29 -28
- pulumi_digitalocean/database_firewall.py +15 -14
- pulumi_digitalocean/database_kafka_config.py +253 -252
- pulumi_digitalocean/database_kafka_topic.py +64 -63
- pulumi_digitalocean/database_mongodb_config.py +85 -84
- pulumi_digitalocean/database_mysql_config.py +393 -392
- pulumi_digitalocean/database_opensearch_config.py +547 -546
- pulumi_digitalocean/database_postgresql_config.py +701 -700
- pulumi_digitalocean/database_redis_config.py +169 -168
- pulumi_digitalocean/database_replica.py +158 -157
- pulumi_digitalocean/database_user.py +71 -70
- pulumi_digitalocean/dns_record.py +148 -147
- pulumi_digitalocean/domain.py +43 -42
- pulumi_digitalocean/droplet.py +312 -311
- pulumi_digitalocean/droplet_autoscale.py +36 -35
- pulumi_digitalocean/droplet_snapshot.py +57 -56
- pulumi_digitalocean/firewall.py +57 -56
- pulumi_digitalocean/floating_ip.py +50 -49
- pulumi_digitalocean/floating_ip_assignment.py +29 -28
- pulumi_digitalocean/get_account.py +9 -8
- pulumi_digitalocean/get_app.py +15 -14
- pulumi_digitalocean/get_certificate.py +13 -12
- pulumi_digitalocean/get_container_registry.py +13 -12
- pulumi_digitalocean/get_database_ca.py +8 -7
- pulumi_digitalocean/get_database_cluster.py +33 -32
- pulumi_digitalocean/get_database_connection_pool.py +22 -21
- pulumi_digitalocean/get_database_replica.py +29 -28
- pulumi_digitalocean/get_database_user.py +17 -16
- pulumi_digitalocean/get_domain.py +10 -9
- pulumi_digitalocean/get_domains.py +2 -1
- pulumi_digitalocean/get_droplet.py +44 -43
- pulumi_digitalocean/get_droplet_autoscale.py +14 -13
- pulumi_digitalocean/get_droplet_snapshot.py +27 -26
- pulumi_digitalocean/get_droplets.py +7 -6
- pulumi_digitalocean/get_firewall.py +20 -19
- pulumi_digitalocean/get_floating_ip.py +10 -9
- pulumi_digitalocean/get_image.py +33 -32
- pulumi_digitalocean/get_images.py +2 -1
- pulumi_digitalocean/get_kubernetes_cluster.py +45 -29
- pulumi_digitalocean/get_kubernetes_versions.py +9 -8
- pulumi_digitalocean/get_load_balancer.py +31 -30
- pulumi_digitalocean/get_partner_attachment.py +170 -0
- pulumi_digitalocean/get_project.py +20 -19
- pulumi_digitalocean/get_projects.py +2 -1
- pulumi_digitalocean/get_record.py +20 -19
- pulumi_digitalocean/get_records.py +7 -6
- pulumi_digitalocean/get_region.py +11 -10
- pulumi_digitalocean/get_regions.py +2 -1
- pulumi_digitalocean/get_reserved_ip.py +10 -9
- pulumi_digitalocean/get_reserved_ipv6.py +10 -9
- pulumi_digitalocean/get_sizes.py +2 -1
- pulumi_digitalocean/get_spaces_bucket.py +15 -14
- pulumi_digitalocean/get_spaces_bucket_object.py +38 -37
- pulumi_digitalocean/get_spaces_bucket_objects.py +35 -34
- pulumi_digitalocean/get_spaces_buckets.py +2 -1
- pulumi_digitalocean/get_spaces_key.py +158 -0
- pulumi_digitalocean/get_ssh_key.py +9 -8
- pulumi_digitalocean/get_ssh_keys.py +2 -1
- pulumi_digitalocean/get_tag.py +13 -12
- pulumi_digitalocean/get_tags.py +2 -1
- pulumi_digitalocean/get_volume.py +23 -22
- pulumi_digitalocean/get_volume_snapshot.py +28 -27
- pulumi_digitalocean/get_vpc.py +21 -20
- pulumi_digitalocean/get_vpc_peering.py +18 -17
- pulumi_digitalocean/kubernetes_cluster.py +272 -238
- pulumi_digitalocean/kubernetes_node_pool.py +134 -133
- pulumi_digitalocean/load_balancer.py +277 -276
- pulumi_digitalocean/monitor_alert.py +120 -119
- pulumi_digitalocean/outputs.py +3185 -2989
- pulumi_digitalocean/partner_attachment.py +433 -0
- pulumi_digitalocean/project.py +113 -112
- pulumi_digitalocean/project_resources.py +29 -28
- pulumi_digitalocean/provider.py +69 -68
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- pulumi_digitalocean/reserved_ip.py +50 -49
- pulumi_digitalocean/reserved_ip_assignment.py +29 -28
- pulumi_digitalocean/reserved_ipv6.py +44 -43
- pulumi_digitalocean/reserved_ipv6_assignment.py +29 -28
- pulumi_digitalocean/spaces_bucket.py +78 -77
- pulumi_digitalocean/spaces_bucket_cors_configuration.py +29 -28
- pulumi_digitalocean/spaces_bucket_object.py +232 -231
- pulumi_digitalocean/spaces_bucket_policy.py +43 -42
- pulumi_digitalocean/spaces_key.py +388 -0
- pulumi_digitalocean/ssh_key.py +36 -35
- pulumi_digitalocean/tag.py +57 -56
- pulumi_digitalocean/uptime_alert.py +85 -84
- pulumi_digitalocean/uptime_check.py +71 -70
- pulumi_digitalocean/volume.py +148 -147
- pulumi_digitalocean/volume_attachment.py +29 -28
- pulumi_digitalocean/volume_snapshot.py +71 -70
- pulumi_digitalocean/vpc.py +78 -77
- pulumi_digitalocean/vpc_peering.py +43 -42
- {pulumi_digitalocean-4.41.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/METADATA +1 -1
- pulumi_digitalocean-4.42.0.dist-info/RECORD +112 -0
- {pulumi_digitalocean-4.41.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/WHEEL +1 -1
- pulumi_digitalocean-4.41.0a1742794810.dist-info/RECORD +0 -108
- {pulumi_digitalocean-4.41.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -19,14 +20,14 @@ __all__ = ['ContainerRegistryArgs', 'ContainerRegistry']
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class ContainerRegistryArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
subscription_tier_slug: pulumi.Input[str],
|
|
23
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
24
|
-
region: Optional[pulumi.Input[str]] = None):
|
|
23
|
+
subscription_tier_slug: pulumi.Input[builtins.str],
|
|
24
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
25
|
+
region: Optional[pulumi.Input[builtins.str]] = None):
|
|
25
26
|
"""
|
|
26
27
|
The set of arguments for constructing a ContainerRegistry resource.
|
|
27
|
-
:param pulumi.Input[str] subscription_tier_slug: The slug identifier for the subscription tier to use (`starter`, `basic`, or `professional`)
|
|
28
|
-
:param pulumi.Input[str] name: The name of the container_registry
|
|
29
|
-
:param pulumi.Input[str] region: The slug identifier of for region where registry data will be stored. When not provided, a region will be selected automatically.
|
|
28
|
+
:param pulumi.Input[builtins.str] subscription_tier_slug: The slug identifier for the subscription tier to use (`starter`, `basic`, or `professional`)
|
|
29
|
+
:param pulumi.Input[builtins.str] name: The name of the container_registry
|
|
30
|
+
:param pulumi.Input[builtins.str] region: The slug identifier of for region where registry data will be stored. When not provided, a region will be selected automatically.
|
|
30
31
|
"""
|
|
31
32
|
pulumi.set(__self__, "subscription_tier_slug", subscription_tier_slug)
|
|
32
33
|
if name is not None:
|
|
@@ -36,60 +37,60 @@ class ContainerRegistryArgs:
|
|
|
36
37
|
|
|
37
38
|
@property
|
|
38
39
|
@pulumi.getter(name="subscriptionTierSlug")
|
|
39
|
-
def subscription_tier_slug(self) -> pulumi.Input[str]:
|
|
40
|
+
def subscription_tier_slug(self) -> pulumi.Input[builtins.str]:
|
|
40
41
|
"""
|
|
41
42
|
The slug identifier for the subscription tier to use (`starter`, `basic`, or `professional`)
|
|
42
43
|
"""
|
|
43
44
|
return pulumi.get(self, "subscription_tier_slug")
|
|
44
45
|
|
|
45
46
|
@subscription_tier_slug.setter
|
|
46
|
-
def subscription_tier_slug(self, value: pulumi.Input[str]):
|
|
47
|
+
def subscription_tier_slug(self, value: pulumi.Input[builtins.str]):
|
|
47
48
|
pulumi.set(self, "subscription_tier_slug", value)
|
|
48
49
|
|
|
49
50
|
@property
|
|
50
51
|
@pulumi.getter
|
|
51
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
52
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
52
53
|
"""
|
|
53
54
|
The name of the container_registry
|
|
54
55
|
"""
|
|
55
56
|
return pulumi.get(self, "name")
|
|
56
57
|
|
|
57
58
|
@name.setter
|
|
58
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
59
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
59
60
|
pulumi.set(self, "name", value)
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter
|
|
63
|
-
def region(self) -> Optional[pulumi.Input[str]]:
|
|
64
|
+
def region(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
64
65
|
"""
|
|
65
66
|
The slug identifier of for region where registry data will be stored. When not provided, a region will be selected automatically.
|
|
66
67
|
"""
|
|
67
68
|
return pulumi.get(self, "region")
|
|
68
69
|
|
|
69
70
|
@region.setter
|
|
70
|
-
def region(self, value: Optional[pulumi.Input[str]]):
|
|
71
|
+
def region(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
71
72
|
pulumi.set(self, "region", value)
|
|
72
73
|
|
|
73
74
|
|
|
74
75
|
@pulumi.input_type
|
|
75
76
|
class _ContainerRegistryState:
|
|
76
77
|
def __init__(__self__, *,
|
|
77
|
-
created_at: Optional[pulumi.Input[str]] = None,
|
|
78
|
-
endpoint: Optional[pulumi.Input[str]] = None,
|
|
79
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
80
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
81
|
-
server_url: Optional[pulumi.Input[str]] = None,
|
|
82
|
-
storage_usage_bytes: Optional[pulumi.Input[int]] = None,
|
|
83
|
-
subscription_tier_slug: Optional[pulumi.Input[str]] = None):
|
|
78
|
+
created_at: Optional[pulumi.Input[builtins.str]] = None,
|
|
79
|
+
endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
80
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
81
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
|
82
|
+
server_url: Optional[pulumi.Input[builtins.str]] = None,
|
|
83
|
+
storage_usage_bytes: Optional[pulumi.Input[builtins.int]] = None,
|
|
84
|
+
subscription_tier_slug: Optional[pulumi.Input[builtins.str]] = None):
|
|
84
85
|
"""
|
|
85
86
|
Input properties used for looking up and filtering ContainerRegistry resources.
|
|
86
|
-
:param pulumi.Input[str] created_at: The date and time when the registry was created
|
|
87
|
-
:param pulumi.Input[str] endpoint: The URL endpoint of the container registry. Ex: `registry.digitalocean.com/my_registry`
|
|
88
|
-
:param pulumi.Input[str] name: The name of the container_registry
|
|
89
|
-
:param pulumi.Input[str] region: The slug identifier of for region where registry data will be stored. When not provided, a region will be selected automatically.
|
|
90
|
-
:param pulumi.Input[str] server_url: The domain of the container registry. Ex: `registry.digitalocean.com`
|
|
91
|
-
:param pulumi.Input[int] storage_usage_bytes: The amount of storage used in the registry in bytes.
|
|
92
|
-
:param pulumi.Input[str] subscription_tier_slug: The slug identifier for the subscription tier to use (`starter`, `basic`, or `professional`)
|
|
87
|
+
:param pulumi.Input[builtins.str] created_at: The date and time when the registry was created
|
|
88
|
+
:param pulumi.Input[builtins.str] endpoint: The URL endpoint of the container registry. Ex: `registry.digitalocean.com/my_registry`
|
|
89
|
+
:param pulumi.Input[builtins.str] name: The name of the container_registry
|
|
90
|
+
:param pulumi.Input[builtins.str] region: The slug identifier of for region where registry data will be stored. When not provided, a region will be selected automatically.
|
|
91
|
+
:param pulumi.Input[builtins.str] server_url: The domain of the container registry. Ex: `registry.digitalocean.com`
|
|
92
|
+
:param pulumi.Input[builtins.int] storage_usage_bytes: The amount of storage used in the registry in bytes.
|
|
93
|
+
:param pulumi.Input[builtins.str] subscription_tier_slug: The slug identifier for the subscription tier to use (`starter`, `basic`, or `professional`)
|
|
93
94
|
"""
|
|
94
95
|
if created_at is not None:
|
|
95
96
|
pulumi.set(__self__, "created_at", created_at)
|
|
@@ -108,86 +109,86 @@ class _ContainerRegistryState:
|
|
|
108
109
|
|
|
109
110
|
@property
|
|
110
111
|
@pulumi.getter(name="createdAt")
|
|
111
|
-
def created_at(self) -> Optional[pulumi.Input[str]]:
|
|
112
|
+
def created_at(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
112
113
|
"""
|
|
113
114
|
The date and time when the registry was created
|
|
114
115
|
"""
|
|
115
116
|
return pulumi.get(self, "created_at")
|
|
116
117
|
|
|
117
118
|
@created_at.setter
|
|
118
|
-
def created_at(self, value: Optional[pulumi.Input[str]]):
|
|
119
|
+
def created_at(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
119
120
|
pulumi.set(self, "created_at", value)
|
|
120
121
|
|
|
121
122
|
@property
|
|
122
123
|
@pulumi.getter
|
|
123
|
-
def endpoint(self) -> Optional[pulumi.Input[str]]:
|
|
124
|
+
def endpoint(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
124
125
|
"""
|
|
125
126
|
The URL endpoint of the container registry. Ex: `registry.digitalocean.com/my_registry`
|
|
126
127
|
"""
|
|
127
128
|
return pulumi.get(self, "endpoint")
|
|
128
129
|
|
|
129
130
|
@endpoint.setter
|
|
130
|
-
def endpoint(self, value: Optional[pulumi.Input[str]]):
|
|
131
|
+
def endpoint(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
131
132
|
pulumi.set(self, "endpoint", value)
|
|
132
133
|
|
|
133
134
|
@property
|
|
134
135
|
@pulumi.getter
|
|
135
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
136
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
136
137
|
"""
|
|
137
138
|
The name of the container_registry
|
|
138
139
|
"""
|
|
139
140
|
return pulumi.get(self, "name")
|
|
140
141
|
|
|
141
142
|
@name.setter
|
|
142
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
143
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
143
144
|
pulumi.set(self, "name", value)
|
|
144
145
|
|
|
145
146
|
@property
|
|
146
147
|
@pulumi.getter
|
|
147
|
-
def region(self) -> Optional[pulumi.Input[str]]:
|
|
148
|
+
def region(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
148
149
|
"""
|
|
149
150
|
The slug identifier of for region where registry data will be stored. When not provided, a region will be selected automatically.
|
|
150
151
|
"""
|
|
151
152
|
return pulumi.get(self, "region")
|
|
152
153
|
|
|
153
154
|
@region.setter
|
|
154
|
-
def region(self, value: Optional[pulumi.Input[str]]):
|
|
155
|
+
def region(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
155
156
|
pulumi.set(self, "region", value)
|
|
156
157
|
|
|
157
158
|
@property
|
|
158
159
|
@pulumi.getter(name="serverUrl")
|
|
159
|
-
def server_url(self) -> Optional[pulumi.Input[str]]:
|
|
160
|
+
def server_url(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
160
161
|
"""
|
|
161
162
|
The domain of the container registry. Ex: `registry.digitalocean.com`
|
|
162
163
|
"""
|
|
163
164
|
return pulumi.get(self, "server_url")
|
|
164
165
|
|
|
165
166
|
@server_url.setter
|
|
166
|
-
def server_url(self, value: Optional[pulumi.Input[str]]):
|
|
167
|
+
def server_url(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
167
168
|
pulumi.set(self, "server_url", value)
|
|
168
169
|
|
|
169
170
|
@property
|
|
170
171
|
@pulumi.getter(name="storageUsageBytes")
|
|
171
|
-
def storage_usage_bytes(self) -> Optional[pulumi.Input[int]]:
|
|
172
|
+
def storage_usage_bytes(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
172
173
|
"""
|
|
173
174
|
The amount of storage used in the registry in bytes.
|
|
174
175
|
"""
|
|
175
176
|
return pulumi.get(self, "storage_usage_bytes")
|
|
176
177
|
|
|
177
178
|
@storage_usage_bytes.setter
|
|
178
|
-
def storage_usage_bytes(self, value: Optional[pulumi.Input[int]]):
|
|
179
|
+
def storage_usage_bytes(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
179
180
|
pulumi.set(self, "storage_usage_bytes", value)
|
|
180
181
|
|
|
181
182
|
@property
|
|
182
183
|
@pulumi.getter(name="subscriptionTierSlug")
|
|
183
|
-
def subscription_tier_slug(self) -> Optional[pulumi.Input[str]]:
|
|
184
|
+
def subscription_tier_slug(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
184
185
|
"""
|
|
185
186
|
The slug identifier for the subscription tier to use (`starter`, `basic`, or `professional`)
|
|
186
187
|
"""
|
|
187
188
|
return pulumi.get(self, "subscription_tier_slug")
|
|
188
189
|
|
|
189
190
|
@subscription_tier_slug.setter
|
|
190
|
-
def subscription_tier_slug(self, value: Optional[pulumi.Input[str]]):
|
|
191
|
+
def subscription_tier_slug(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
191
192
|
pulumi.set(self, "subscription_tier_slug", value)
|
|
192
193
|
|
|
193
194
|
|
|
@@ -196,9 +197,9 @@ class ContainerRegistry(pulumi.CustomResource):
|
|
|
196
197
|
def __init__(__self__,
|
|
197
198
|
resource_name: str,
|
|
198
199
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
199
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
200
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
201
|
-
subscription_tier_slug: Optional[pulumi.Input[str]] = None,
|
|
200
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
201
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
|
202
|
+
subscription_tier_slug: Optional[pulumi.Input[builtins.str]] = None,
|
|
202
203
|
__props__=None):
|
|
203
204
|
"""
|
|
204
205
|
Provides a DigitalOcean Container Registry resource. A Container Registry is
|
|
@@ -226,9 +227,9 @@ class ContainerRegistry(pulumi.CustomResource):
|
|
|
226
227
|
|
|
227
228
|
:param str resource_name: The name of the resource.
|
|
228
229
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
229
|
-
:param pulumi.Input[str] name: The name of the container_registry
|
|
230
|
-
:param pulumi.Input[str] region: The slug identifier of for region where registry data will be stored. When not provided, a region will be selected automatically.
|
|
231
|
-
:param pulumi.Input[str] subscription_tier_slug: The slug identifier for the subscription tier to use (`starter`, `basic`, or `professional`)
|
|
230
|
+
:param pulumi.Input[builtins.str] name: The name of the container_registry
|
|
231
|
+
:param pulumi.Input[builtins.str] region: The slug identifier of for region where registry data will be stored. When not provided, a region will be selected automatically.
|
|
232
|
+
:param pulumi.Input[builtins.str] subscription_tier_slug: The slug identifier for the subscription tier to use (`starter`, `basic`, or `professional`)
|
|
232
233
|
"""
|
|
233
234
|
...
|
|
234
235
|
@overload
|
|
@@ -275,9 +276,9 @@ class ContainerRegistry(pulumi.CustomResource):
|
|
|
275
276
|
def _internal_init(__self__,
|
|
276
277
|
resource_name: str,
|
|
277
278
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
278
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
279
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
280
|
-
subscription_tier_slug: Optional[pulumi.Input[str]] = None,
|
|
279
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
280
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
|
281
|
+
subscription_tier_slug: Optional[pulumi.Input[builtins.str]] = None,
|
|
281
282
|
__props__=None):
|
|
282
283
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
283
284
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -306,13 +307,13 @@ class ContainerRegistry(pulumi.CustomResource):
|
|
|
306
307
|
def get(resource_name: str,
|
|
307
308
|
id: pulumi.Input[str],
|
|
308
309
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
309
|
-
created_at: Optional[pulumi.Input[str]] = None,
|
|
310
|
-
endpoint: Optional[pulumi.Input[str]] = None,
|
|
311
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
312
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
313
|
-
server_url: Optional[pulumi.Input[str]] = None,
|
|
314
|
-
storage_usage_bytes: Optional[pulumi.Input[int]] = None,
|
|
315
|
-
subscription_tier_slug: Optional[pulumi.Input[str]] = None) -> 'ContainerRegistry':
|
|
310
|
+
created_at: Optional[pulumi.Input[builtins.str]] = None,
|
|
311
|
+
endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
312
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
313
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
|
314
|
+
server_url: Optional[pulumi.Input[builtins.str]] = None,
|
|
315
|
+
storage_usage_bytes: Optional[pulumi.Input[builtins.int]] = None,
|
|
316
|
+
subscription_tier_slug: Optional[pulumi.Input[builtins.str]] = None) -> 'ContainerRegistry':
|
|
316
317
|
"""
|
|
317
318
|
Get an existing ContainerRegistry resource's state with the given name, id, and optional extra
|
|
318
319
|
properties used to qualify the lookup.
|
|
@@ -320,13 +321,13 @@ class ContainerRegistry(pulumi.CustomResource):
|
|
|
320
321
|
:param str resource_name: The unique name of the resulting resource.
|
|
321
322
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
322
323
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
323
|
-
:param pulumi.Input[str] created_at: The date and time when the registry was created
|
|
324
|
-
:param pulumi.Input[str] endpoint: The URL endpoint of the container registry. Ex: `registry.digitalocean.com/my_registry`
|
|
325
|
-
:param pulumi.Input[str] name: The name of the container_registry
|
|
326
|
-
:param pulumi.Input[str] region: The slug identifier of for region where registry data will be stored. When not provided, a region will be selected automatically.
|
|
327
|
-
:param pulumi.Input[str] server_url: The domain of the container registry. Ex: `registry.digitalocean.com`
|
|
328
|
-
:param pulumi.Input[int] storage_usage_bytes: The amount of storage used in the registry in bytes.
|
|
329
|
-
:param pulumi.Input[str] subscription_tier_slug: The slug identifier for the subscription tier to use (`starter`, `basic`, or `professional`)
|
|
324
|
+
:param pulumi.Input[builtins.str] created_at: The date and time when the registry was created
|
|
325
|
+
:param pulumi.Input[builtins.str] endpoint: The URL endpoint of the container registry. Ex: `registry.digitalocean.com/my_registry`
|
|
326
|
+
:param pulumi.Input[builtins.str] name: The name of the container_registry
|
|
327
|
+
:param pulumi.Input[builtins.str] region: The slug identifier of for region where registry data will be stored. When not provided, a region will be selected automatically.
|
|
328
|
+
:param pulumi.Input[builtins.str] server_url: The domain of the container registry. Ex: `registry.digitalocean.com`
|
|
329
|
+
:param pulumi.Input[builtins.int] storage_usage_bytes: The amount of storage used in the registry in bytes.
|
|
330
|
+
:param pulumi.Input[builtins.str] subscription_tier_slug: The slug identifier for the subscription tier to use (`starter`, `basic`, or `professional`)
|
|
330
331
|
"""
|
|
331
332
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
332
333
|
|
|
@@ -343,7 +344,7 @@ class ContainerRegistry(pulumi.CustomResource):
|
|
|
343
344
|
|
|
344
345
|
@property
|
|
345
346
|
@pulumi.getter(name="createdAt")
|
|
346
|
-
def created_at(self) -> pulumi.Output[str]:
|
|
347
|
+
def created_at(self) -> pulumi.Output[builtins.str]:
|
|
347
348
|
"""
|
|
348
349
|
The date and time when the registry was created
|
|
349
350
|
"""
|
|
@@ -351,7 +352,7 @@ class ContainerRegistry(pulumi.CustomResource):
|
|
|
351
352
|
|
|
352
353
|
@property
|
|
353
354
|
@pulumi.getter
|
|
354
|
-
def endpoint(self) -> pulumi.Output[str]:
|
|
355
|
+
def endpoint(self) -> pulumi.Output[builtins.str]:
|
|
355
356
|
"""
|
|
356
357
|
The URL endpoint of the container registry. Ex: `registry.digitalocean.com/my_registry`
|
|
357
358
|
"""
|
|
@@ -359,7 +360,7 @@ class ContainerRegistry(pulumi.CustomResource):
|
|
|
359
360
|
|
|
360
361
|
@property
|
|
361
362
|
@pulumi.getter
|
|
362
|
-
def name(self) -> pulumi.Output[str]:
|
|
363
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
363
364
|
"""
|
|
364
365
|
The name of the container_registry
|
|
365
366
|
"""
|
|
@@ -367,7 +368,7 @@ class ContainerRegistry(pulumi.CustomResource):
|
|
|
367
368
|
|
|
368
369
|
@property
|
|
369
370
|
@pulumi.getter
|
|
370
|
-
def region(self) -> pulumi.Output[str]:
|
|
371
|
+
def region(self) -> pulumi.Output[builtins.str]:
|
|
371
372
|
"""
|
|
372
373
|
The slug identifier of for region where registry data will be stored. When not provided, a region will be selected automatically.
|
|
373
374
|
"""
|
|
@@ -375,7 +376,7 @@ class ContainerRegistry(pulumi.CustomResource):
|
|
|
375
376
|
|
|
376
377
|
@property
|
|
377
378
|
@pulumi.getter(name="serverUrl")
|
|
378
|
-
def server_url(self) -> pulumi.Output[str]:
|
|
379
|
+
def server_url(self) -> pulumi.Output[builtins.str]:
|
|
379
380
|
"""
|
|
380
381
|
The domain of the container registry. Ex: `registry.digitalocean.com`
|
|
381
382
|
"""
|
|
@@ -383,7 +384,7 @@ class ContainerRegistry(pulumi.CustomResource):
|
|
|
383
384
|
|
|
384
385
|
@property
|
|
385
386
|
@pulumi.getter(name="storageUsageBytes")
|
|
386
|
-
def storage_usage_bytes(self) -> pulumi.Output[int]:
|
|
387
|
+
def storage_usage_bytes(self) -> pulumi.Output[builtins.int]:
|
|
387
388
|
"""
|
|
388
389
|
The amount of storage used in the registry in bytes.
|
|
389
390
|
"""
|
|
@@ -391,7 +392,7 @@ class ContainerRegistry(pulumi.CustomResource):
|
|
|
391
392
|
|
|
392
393
|
@property
|
|
393
394
|
@pulumi.getter(name="subscriptionTierSlug")
|
|
394
|
-
def subscription_tier_slug(self) -> pulumi.Output[str]:
|
|
395
|
+
def subscription_tier_slug(self) -> pulumi.Output[builtins.str]:
|
|
395
396
|
"""
|
|
396
397
|
The slug identifier for the subscription tier to use (`starter`, `basic`, or `professional`)
|
|
397
398
|
"""
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -19,14 +20,14 @@ __all__ = ['ContainerRegistryDockerCredentialsArgs', 'ContainerRegistryDockerCre
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class ContainerRegistryDockerCredentialsArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
registry_name: pulumi.Input[str],
|
|
23
|
-
expiry_seconds: Optional[pulumi.Input[int]] = None,
|
|
24
|
-
write: Optional[pulumi.Input[bool]] = None):
|
|
23
|
+
registry_name: pulumi.Input[builtins.str],
|
|
24
|
+
expiry_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
25
|
+
write: Optional[pulumi.Input[builtins.bool]] = None):
|
|
25
26
|
"""
|
|
26
27
|
The set of arguments for constructing a ContainerRegistryDockerCredentials resource.
|
|
27
|
-
:param pulumi.Input[str] registry_name: The name of the container registry.
|
|
28
|
-
:param pulumi.Input[int] expiry_seconds: The amount of time to pass before the Docker credentials expire in seconds. Defaults to 1576800000, or roughly 50 years. Must be greater than 0 and less than 1576800000.
|
|
29
|
-
:param pulumi.Input[bool] write: Allow for write access to the container registry. Defaults to false.
|
|
28
|
+
:param pulumi.Input[builtins.str] registry_name: The name of the container registry.
|
|
29
|
+
:param pulumi.Input[builtins.int] expiry_seconds: The amount of time to pass before the Docker credentials expire in seconds. Defaults to 1576800000, or roughly 50 years. Must be greater than 0 and less than 1576800000.
|
|
30
|
+
:param pulumi.Input[builtins.bool] write: Allow for write access to the container registry. Defaults to false.
|
|
30
31
|
"""
|
|
31
32
|
pulumi.set(__self__, "registry_name", registry_name)
|
|
32
33
|
if expiry_seconds is not None:
|
|
@@ -36,56 +37,56 @@ class ContainerRegistryDockerCredentialsArgs:
|
|
|
36
37
|
|
|
37
38
|
@property
|
|
38
39
|
@pulumi.getter(name="registryName")
|
|
39
|
-
def registry_name(self) -> pulumi.Input[str]:
|
|
40
|
+
def registry_name(self) -> pulumi.Input[builtins.str]:
|
|
40
41
|
"""
|
|
41
42
|
The name of the container registry.
|
|
42
43
|
"""
|
|
43
44
|
return pulumi.get(self, "registry_name")
|
|
44
45
|
|
|
45
46
|
@registry_name.setter
|
|
46
|
-
def registry_name(self, value: pulumi.Input[str]):
|
|
47
|
+
def registry_name(self, value: pulumi.Input[builtins.str]):
|
|
47
48
|
pulumi.set(self, "registry_name", value)
|
|
48
49
|
|
|
49
50
|
@property
|
|
50
51
|
@pulumi.getter(name="expirySeconds")
|
|
51
|
-
def expiry_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
52
|
+
def expiry_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
52
53
|
"""
|
|
53
54
|
The amount of time to pass before the Docker credentials expire in seconds. Defaults to 1576800000, or roughly 50 years. Must be greater than 0 and less than 1576800000.
|
|
54
55
|
"""
|
|
55
56
|
return pulumi.get(self, "expiry_seconds")
|
|
56
57
|
|
|
57
58
|
@expiry_seconds.setter
|
|
58
|
-
def expiry_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
59
|
+
def expiry_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
59
60
|
pulumi.set(self, "expiry_seconds", value)
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter
|
|
63
|
-
def write(self) -> Optional[pulumi.Input[bool]]:
|
|
64
|
+
def write(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
64
65
|
"""
|
|
65
66
|
Allow for write access to the container registry. Defaults to false.
|
|
66
67
|
"""
|
|
67
68
|
return pulumi.get(self, "write")
|
|
68
69
|
|
|
69
70
|
@write.setter
|
|
70
|
-
def write(self, value: Optional[pulumi.Input[bool]]):
|
|
71
|
+
def write(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
71
72
|
pulumi.set(self, "write", value)
|
|
72
73
|
|
|
73
74
|
|
|
74
75
|
@pulumi.input_type
|
|
75
76
|
class _ContainerRegistryDockerCredentialsState:
|
|
76
77
|
def __init__(__self__, *,
|
|
77
|
-
credential_expiration_time: Optional[pulumi.Input[str]] = None,
|
|
78
|
-
docker_credentials: Optional[pulumi.Input[str]] = None,
|
|
79
|
-
expiry_seconds: Optional[pulumi.Input[int]] = None,
|
|
80
|
-
registry_name: Optional[pulumi.Input[str]] = None,
|
|
81
|
-
write: Optional[pulumi.Input[bool]] = None):
|
|
78
|
+
credential_expiration_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
79
|
+
docker_credentials: Optional[pulumi.Input[builtins.str]] = None,
|
|
80
|
+
expiry_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
81
|
+
registry_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
82
|
+
write: Optional[pulumi.Input[builtins.bool]] = None):
|
|
82
83
|
"""
|
|
83
84
|
Input properties used for looking up and filtering ContainerRegistryDockerCredentials resources.
|
|
84
|
-
:param pulumi.Input[str] credential_expiration_time: The date and time the registry access token will expire.
|
|
85
|
-
:param pulumi.Input[str] docker_credentials: Credentials for the container registry.
|
|
86
|
-
:param pulumi.Input[int] expiry_seconds: The amount of time to pass before the Docker credentials expire in seconds. Defaults to 1576800000, or roughly 50 years. Must be greater than 0 and less than 1576800000.
|
|
87
|
-
:param pulumi.Input[str] registry_name: The name of the container registry.
|
|
88
|
-
:param pulumi.Input[bool] write: Allow for write access to the container registry. Defaults to false.
|
|
85
|
+
:param pulumi.Input[builtins.str] credential_expiration_time: The date and time the registry access token will expire.
|
|
86
|
+
:param pulumi.Input[builtins.str] docker_credentials: Credentials for the container registry.
|
|
87
|
+
:param pulumi.Input[builtins.int] expiry_seconds: The amount of time to pass before the Docker credentials expire in seconds. Defaults to 1576800000, or roughly 50 years. Must be greater than 0 and less than 1576800000.
|
|
88
|
+
:param pulumi.Input[builtins.str] registry_name: The name of the container registry.
|
|
89
|
+
:param pulumi.Input[builtins.bool] write: Allow for write access to the container registry. Defaults to false.
|
|
89
90
|
"""
|
|
90
91
|
if credential_expiration_time is not None:
|
|
91
92
|
pulumi.set(__self__, "credential_expiration_time", credential_expiration_time)
|
|
@@ -100,62 +101,62 @@ class _ContainerRegistryDockerCredentialsState:
|
|
|
100
101
|
|
|
101
102
|
@property
|
|
102
103
|
@pulumi.getter(name="credentialExpirationTime")
|
|
103
|
-
def credential_expiration_time(self) -> Optional[pulumi.Input[str]]:
|
|
104
|
+
def credential_expiration_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
104
105
|
"""
|
|
105
106
|
The date and time the registry access token will expire.
|
|
106
107
|
"""
|
|
107
108
|
return pulumi.get(self, "credential_expiration_time")
|
|
108
109
|
|
|
109
110
|
@credential_expiration_time.setter
|
|
110
|
-
def credential_expiration_time(self, value: Optional[pulumi.Input[str]]):
|
|
111
|
+
def credential_expiration_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
111
112
|
pulumi.set(self, "credential_expiration_time", value)
|
|
112
113
|
|
|
113
114
|
@property
|
|
114
115
|
@pulumi.getter(name="dockerCredentials")
|
|
115
|
-
def docker_credentials(self) -> Optional[pulumi.Input[str]]:
|
|
116
|
+
def docker_credentials(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
116
117
|
"""
|
|
117
118
|
Credentials for the container registry.
|
|
118
119
|
"""
|
|
119
120
|
return pulumi.get(self, "docker_credentials")
|
|
120
121
|
|
|
121
122
|
@docker_credentials.setter
|
|
122
|
-
def docker_credentials(self, value: Optional[pulumi.Input[str]]):
|
|
123
|
+
def docker_credentials(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
123
124
|
pulumi.set(self, "docker_credentials", value)
|
|
124
125
|
|
|
125
126
|
@property
|
|
126
127
|
@pulumi.getter(name="expirySeconds")
|
|
127
|
-
def expiry_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
128
|
+
def expiry_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
128
129
|
"""
|
|
129
130
|
The amount of time to pass before the Docker credentials expire in seconds. Defaults to 1576800000, or roughly 50 years. Must be greater than 0 and less than 1576800000.
|
|
130
131
|
"""
|
|
131
132
|
return pulumi.get(self, "expiry_seconds")
|
|
132
133
|
|
|
133
134
|
@expiry_seconds.setter
|
|
134
|
-
def expiry_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
135
|
+
def expiry_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
135
136
|
pulumi.set(self, "expiry_seconds", value)
|
|
136
137
|
|
|
137
138
|
@property
|
|
138
139
|
@pulumi.getter(name="registryName")
|
|
139
|
-
def registry_name(self) -> Optional[pulumi.Input[str]]:
|
|
140
|
+
def registry_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
140
141
|
"""
|
|
141
142
|
The name of the container registry.
|
|
142
143
|
"""
|
|
143
144
|
return pulumi.get(self, "registry_name")
|
|
144
145
|
|
|
145
146
|
@registry_name.setter
|
|
146
|
-
def registry_name(self, value: Optional[pulumi.Input[str]]):
|
|
147
|
+
def registry_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
147
148
|
pulumi.set(self, "registry_name", value)
|
|
148
149
|
|
|
149
150
|
@property
|
|
150
151
|
@pulumi.getter
|
|
151
|
-
def write(self) -> Optional[pulumi.Input[bool]]:
|
|
152
|
+
def write(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
152
153
|
"""
|
|
153
154
|
Allow for write access to the container registry. Defaults to false.
|
|
154
155
|
"""
|
|
155
156
|
return pulumi.get(self, "write")
|
|
156
157
|
|
|
157
158
|
@write.setter
|
|
158
|
-
def write(self, value: Optional[pulumi.Input[bool]]):
|
|
159
|
+
def write(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
159
160
|
pulumi.set(self, "write", value)
|
|
160
161
|
|
|
161
162
|
|
|
@@ -164,9 +165,9 @@ class ContainerRegistryDockerCredentials(pulumi.CustomResource):
|
|
|
164
165
|
def __init__(__self__,
|
|
165
166
|
resource_name: str,
|
|
166
167
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
167
|
-
expiry_seconds: Optional[pulumi.Input[int]] = None,
|
|
168
|
-
registry_name: Optional[pulumi.Input[str]] = None,
|
|
169
|
-
write: Optional[pulumi.Input[bool]] = None,
|
|
168
|
+
expiry_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
169
|
+
registry_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
170
|
+
write: Optional[pulumi.Input[builtins.bool]] = None,
|
|
170
171
|
__props__=None):
|
|
171
172
|
"""
|
|
172
173
|
Get Docker credentials for your DigitalOcean container registry.
|
|
@@ -222,9 +223,9 @@ class ContainerRegistryDockerCredentials(pulumi.CustomResource):
|
|
|
222
223
|
|
|
223
224
|
:param str resource_name: The name of the resource.
|
|
224
225
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
225
|
-
:param pulumi.Input[int] expiry_seconds: The amount of time to pass before the Docker credentials expire in seconds. Defaults to 1576800000, or roughly 50 years. Must be greater than 0 and less than 1576800000.
|
|
226
|
-
:param pulumi.Input[str] registry_name: The name of the container registry.
|
|
227
|
-
:param pulumi.Input[bool] write: Allow for write access to the container registry. Defaults to false.
|
|
226
|
+
:param pulumi.Input[builtins.int] expiry_seconds: The amount of time to pass before the Docker credentials expire in seconds. Defaults to 1576800000, or roughly 50 years. Must be greater than 0 and less than 1576800000.
|
|
227
|
+
:param pulumi.Input[builtins.str] registry_name: The name of the container registry.
|
|
228
|
+
:param pulumi.Input[builtins.bool] write: Allow for write access to the container registry. Defaults to false.
|
|
228
229
|
"""
|
|
229
230
|
...
|
|
230
231
|
@overload
|
|
@@ -299,9 +300,9 @@ class ContainerRegistryDockerCredentials(pulumi.CustomResource):
|
|
|
299
300
|
def _internal_init(__self__,
|
|
300
301
|
resource_name: str,
|
|
301
302
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
302
|
-
expiry_seconds: Optional[pulumi.Input[int]] = None,
|
|
303
|
-
registry_name: Optional[pulumi.Input[str]] = None,
|
|
304
|
-
write: Optional[pulumi.Input[bool]] = None,
|
|
303
|
+
expiry_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
304
|
+
registry_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
305
|
+
write: Optional[pulumi.Input[builtins.bool]] = None,
|
|
305
306
|
__props__=None):
|
|
306
307
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
307
308
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -330,11 +331,11 @@ class ContainerRegistryDockerCredentials(pulumi.CustomResource):
|
|
|
330
331
|
def get(resource_name: str,
|
|
331
332
|
id: pulumi.Input[str],
|
|
332
333
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
333
|
-
credential_expiration_time: Optional[pulumi.Input[str]] = None,
|
|
334
|
-
docker_credentials: Optional[pulumi.Input[str]] = None,
|
|
335
|
-
expiry_seconds: Optional[pulumi.Input[int]] = None,
|
|
336
|
-
registry_name: Optional[pulumi.Input[str]] = None,
|
|
337
|
-
write: Optional[pulumi.Input[bool]] = None) -> 'ContainerRegistryDockerCredentials':
|
|
334
|
+
credential_expiration_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
335
|
+
docker_credentials: Optional[pulumi.Input[builtins.str]] = None,
|
|
336
|
+
expiry_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
337
|
+
registry_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
338
|
+
write: Optional[pulumi.Input[builtins.bool]] = None) -> 'ContainerRegistryDockerCredentials':
|
|
338
339
|
"""
|
|
339
340
|
Get an existing ContainerRegistryDockerCredentials resource's state with the given name, id, and optional extra
|
|
340
341
|
properties used to qualify the lookup.
|
|
@@ -342,11 +343,11 @@ class ContainerRegistryDockerCredentials(pulumi.CustomResource):
|
|
|
342
343
|
:param str resource_name: The unique name of the resulting resource.
|
|
343
344
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
344
345
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
345
|
-
:param pulumi.Input[str] credential_expiration_time: The date and time the registry access token will expire.
|
|
346
|
-
:param pulumi.Input[str] docker_credentials: Credentials for the container registry.
|
|
347
|
-
:param pulumi.Input[int] expiry_seconds: The amount of time to pass before the Docker credentials expire in seconds. Defaults to 1576800000, or roughly 50 years. Must be greater than 0 and less than 1576800000.
|
|
348
|
-
:param pulumi.Input[str] registry_name: The name of the container registry.
|
|
349
|
-
:param pulumi.Input[bool] write: Allow for write access to the container registry. Defaults to false.
|
|
346
|
+
:param pulumi.Input[builtins.str] credential_expiration_time: The date and time the registry access token will expire.
|
|
347
|
+
:param pulumi.Input[builtins.str] docker_credentials: Credentials for the container registry.
|
|
348
|
+
:param pulumi.Input[builtins.int] expiry_seconds: The amount of time to pass before the Docker credentials expire in seconds. Defaults to 1576800000, or roughly 50 years. Must be greater than 0 and less than 1576800000.
|
|
349
|
+
:param pulumi.Input[builtins.str] registry_name: The name of the container registry.
|
|
350
|
+
:param pulumi.Input[builtins.bool] write: Allow for write access to the container registry. Defaults to false.
|
|
350
351
|
"""
|
|
351
352
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
352
353
|
|
|
@@ -361,7 +362,7 @@ class ContainerRegistryDockerCredentials(pulumi.CustomResource):
|
|
|
361
362
|
|
|
362
363
|
@property
|
|
363
364
|
@pulumi.getter(name="credentialExpirationTime")
|
|
364
|
-
def credential_expiration_time(self) -> pulumi.Output[str]:
|
|
365
|
+
def credential_expiration_time(self) -> pulumi.Output[builtins.str]:
|
|
365
366
|
"""
|
|
366
367
|
The date and time the registry access token will expire.
|
|
367
368
|
"""
|
|
@@ -369,7 +370,7 @@ class ContainerRegistryDockerCredentials(pulumi.CustomResource):
|
|
|
369
370
|
|
|
370
371
|
@property
|
|
371
372
|
@pulumi.getter(name="dockerCredentials")
|
|
372
|
-
def docker_credentials(self) -> pulumi.Output[str]:
|
|
373
|
+
def docker_credentials(self) -> pulumi.Output[builtins.str]:
|
|
373
374
|
"""
|
|
374
375
|
Credentials for the container registry.
|
|
375
376
|
"""
|
|
@@ -377,7 +378,7 @@ class ContainerRegistryDockerCredentials(pulumi.CustomResource):
|
|
|
377
378
|
|
|
378
379
|
@property
|
|
379
380
|
@pulumi.getter(name="expirySeconds")
|
|
380
|
-
def expiry_seconds(self) -> pulumi.Output[Optional[int]]:
|
|
381
|
+
def expiry_seconds(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
381
382
|
"""
|
|
382
383
|
The amount of time to pass before the Docker credentials expire in seconds. Defaults to 1576800000, or roughly 50 years. Must be greater than 0 and less than 1576800000.
|
|
383
384
|
"""
|
|
@@ -385,7 +386,7 @@ class ContainerRegistryDockerCredentials(pulumi.CustomResource):
|
|
|
385
386
|
|
|
386
387
|
@property
|
|
387
388
|
@pulumi.getter(name="registryName")
|
|
388
|
-
def registry_name(self) -> pulumi.Output[str]:
|
|
389
|
+
def registry_name(self) -> pulumi.Output[builtins.str]:
|
|
389
390
|
"""
|
|
390
391
|
The name of the container registry.
|
|
391
392
|
"""
|
|
@@ -393,7 +394,7 @@ class ContainerRegistryDockerCredentials(pulumi.CustomResource):
|
|
|
393
394
|
|
|
394
395
|
@property
|
|
395
396
|
@pulumi.getter
|
|
396
|
-
def write(self) -> pulumi.Output[Optional[bool]]:
|
|
397
|
+
def write(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
397
398
|
"""
|
|
398
399
|
Allow for write access to the container registry. Defaults to false.
|
|
399
400
|
"""
|