pulumi-digitalocean 4.40.0a1739511652__py3-none-any.whl → 4.56.0a1766428645__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.
- pulumi_digitalocean/__init__.py +224 -1
- pulumi_digitalocean/_enums.py +19 -9
- pulumi_digitalocean/_inputs.py +17037 -4771
- pulumi_digitalocean/_utilities.py +1 -1
- pulumi_digitalocean/app.py +238 -88
- pulumi_digitalocean/byoip_prefix.py +452 -0
- pulumi_digitalocean/cdn.py +106 -105
- pulumi_digitalocean/certificate.py +139 -138
- pulumi_digitalocean/config/__init__.py +2 -1
- pulumi_digitalocean/config/__init__.pyi +2 -2
- pulumi_digitalocean/config/vars.py +11 -11
- pulumi_digitalocean/container_registries.py +285 -0
- pulumi_digitalocean/container_registry.py +90 -89
- pulumi_digitalocean/container_registry_docker_credentials.py +84 -83
- pulumi_digitalocean/custom_image.py +180 -179
- pulumi_digitalocean/database_cluster.py +402 -373
- pulumi_digitalocean/database_connection_pool.py +159 -158
- pulumi_digitalocean/database_db.py +37 -36
- pulumi_digitalocean/database_firewall.py +23 -22
- pulumi_digitalocean/database_kafka_config.py +309 -308
- pulumi_digitalocean/database_kafka_schema_registry.py +360 -0
- pulumi_digitalocean/database_kafka_topic.py +83 -82
- pulumi_digitalocean/database_logsink_opensearch.py +680 -0
- pulumi_digitalocean/database_logsink_rsyslog.py +842 -0
- pulumi_digitalocean/database_mongodb_config.py +105 -104
- pulumi_digitalocean/database_mysql_config.py +479 -478
- pulumi_digitalocean/database_online_migration.py +460 -0
- pulumi_digitalocean/database_opensearch_config.py +666 -665
- pulumi_digitalocean/database_postgresql_config.py +859 -858
- pulumi_digitalocean/database_redis_config.py +211 -206
- pulumi_digitalocean/database_replica.py +199 -198
- pulumi_digitalocean/database_user.py +93 -92
- pulumi_digitalocean/database_valkey_config.py +776 -0
- pulumi_digitalocean/dns_record.py +184 -183
- pulumi_digitalocean/domain.py +55 -54
- pulumi_digitalocean/droplet.py +403 -402
- pulumi_digitalocean/droplet_autoscale.py +55 -54
- pulumi_digitalocean/droplet_snapshot.py +73 -72
- pulumi_digitalocean/firewall.py +80 -79
- pulumi_digitalocean/floating_ip.py +63 -62
- pulumi_digitalocean/floating_ip_assignment.py +37 -36
- pulumi_digitalocean/genai_agent.py +1903 -0
- pulumi_digitalocean/genai_agent_knowledge_base_attachment.py +198 -0
- pulumi_digitalocean/genai_agent_route.py +354 -0
- pulumi_digitalocean/genai_function.py +464 -0
- pulumi_digitalocean/genai_indexing_job_cancel.py +542 -0
- pulumi_digitalocean/genai_knowledge_base.py +627 -0
- pulumi_digitalocean/genai_knowledge_base_data_source.py +220 -0
- pulumi_digitalocean/genai_openai_api_key.py +386 -0
- pulumi_digitalocean/get_account.py +18 -18
- pulumi_digitalocean/get_app.py +28 -28
- pulumi_digitalocean/get_byoip_prefix.py +214 -0
- pulumi_digitalocean/get_byoip_prefix_resources.py +150 -0
- pulumi_digitalocean/get_certificate.py +22 -22
- pulumi_digitalocean/get_container_registries.py +151 -0
- pulumi_digitalocean/get_container_registry.py +22 -22
- pulumi_digitalocean/get_database_ca.py +12 -12
- pulumi_digitalocean/get_database_cluster.py +76 -62
- pulumi_digitalocean/get_database_connection_pool.py +36 -36
- pulumi_digitalocean/get_database_metrics_credentials.py +120 -0
- pulumi_digitalocean/get_database_replica.py +46 -46
- pulumi_digitalocean/get_database_user.py +27 -27
- pulumi_digitalocean/get_domain.py +16 -16
- pulumi_digitalocean/get_domains.py +7 -7
- pulumi_digitalocean/get_droplet.py +72 -72
- pulumi_digitalocean/get_droplet_autoscale.py +23 -23
- pulumi_digitalocean/get_droplet_snapshot.py +38 -38
- pulumi_digitalocean/get_droplets.py +13 -13
- pulumi_digitalocean/get_firewall.py +31 -31
- pulumi_digitalocean/get_floating_ip.py +16 -16
- pulumi_digitalocean/get_genai_agent.py +572 -0
- pulumi_digitalocean/get_genai_agent_versions.py +128 -0
- pulumi_digitalocean/get_genai_agents.py +128 -0
- pulumi_digitalocean/get_genai_agents_by_openai_api_key.py +97 -0
- pulumi_digitalocean/get_genai_indexing_job.py +239 -0
- pulumi_digitalocean/get_genai_indexing_job_data_sources.py +97 -0
- pulumi_digitalocean/get_genai_knowledge_base.py +259 -0
- pulumi_digitalocean/get_genai_knowledge_base_data_sources.py +97 -0
- pulumi_digitalocean/get_genai_knowledge_base_indexing_jobs.py +108 -0
- pulumi_digitalocean/get_genai_knowledge_bases.py +113 -0
- pulumi_digitalocean/get_genai_models.py +113 -0
- pulumi_digitalocean/get_genai_openai_api_key.py +152 -0
- pulumi_digitalocean/get_genai_openai_api_keys.py +113 -0
- pulumi_digitalocean/get_genai_regions.py +113 -0
- pulumi_digitalocean/get_image.py +50 -50
- pulumi_digitalocean/get_images.py +7 -7
- pulumi_digitalocean/get_kubernetes_cluster.py +144 -53
- pulumi_digitalocean/get_kubernetes_versions.py +14 -14
- pulumi_digitalocean/get_load_balancer.py +70 -59
- pulumi_digitalocean/get_nfs.py +205 -0
- pulumi_digitalocean/get_nfs_snapshot.py +188 -0
- pulumi_digitalocean/get_partner_attachment.py +206 -0
- pulumi_digitalocean/get_partner_attachment_service_key.py +118 -0
- pulumi_digitalocean/get_project.py +32 -32
- pulumi_digitalocean/get_projects.py +7 -7
- pulumi_digitalocean/get_record.py +32 -32
- pulumi_digitalocean/get_records.py +13 -13
- pulumi_digitalocean/get_region.py +18 -18
- pulumi_digitalocean/get_regions.py +7 -7
- pulumi_digitalocean/get_reserved_ip.py +16 -16
- pulumi_digitalocean/get_reserved_ipv6.py +51 -16
- pulumi_digitalocean/get_sizes.py +141 -7
- pulumi_digitalocean/get_spaces_bucket.py +22 -22
- pulumi_digitalocean/get_spaces_bucket_object.py +58 -58
- pulumi_digitalocean/get_spaces_bucket_objects.py +46 -46
- pulumi_digitalocean/get_spaces_buckets.py +7 -7
- pulumi_digitalocean/get_spaces_key.py +157 -0
- pulumi_digitalocean/get_ssh_key.py +14 -14
- pulumi_digitalocean/get_ssh_keys.py +7 -7
- pulumi_digitalocean/get_tag.py +22 -22
- pulumi_digitalocean/get_tags.py +7 -7
- pulumi_digitalocean/get_volume.py +34 -34
- pulumi_digitalocean/get_volume_snapshot.py +40 -40
- pulumi_digitalocean/get_vpc.py +30 -30
- pulumi_digitalocean/get_vpc_nat_gateway.py +263 -0
- pulumi_digitalocean/get_vpc_peering.py +24 -24
- pulumi_digitalocean/kubernetes_cluster.py +572 -303
- pulumi_digitalocean/kubernetes_node_pool.py +170 -169
- pulumi_digitalocean/load_balancer.py +406 -372
- pulumi_digitalocean/monitor_alert.py +153 -156
- pulumi_digitalocean/nfs.py +481 -0
- pulumi_digitalocean/nfs_attachment.py +289 -0
- pulumi_digitalocean/nfs_snapshot.py +379 -0
- pulumi_digitalocean/outputs.py +26759 -7592
- pulumi_digitalocean/partner_attachment.py +555 -0
- pulumi_digitalocean/project.py +141 -140
- pulumi_digitalocean/project_resources.py +37 -36
- pulumi_digitalocean/provider.py +105 -84
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- pulumi_digitalocean/reserved_ip.py +63 -62
- pulumi_digitalocean/reserved_ip_assignment.py +37 -36
- pulumi_digitalocean/reserved_ipv6.py +122 -62
- pulumi_digitalocean/reserved_ipv6_assignment.py +81 -30
- pulumi_digitalocean/spaces_bucket.py +107 -106
- pulumi_digitalocean/spaces_bucket_cors_configuration.py +40 -39
- pulumi_digitalocean/spaces_bucket_logging.py +346 -0
- pulumi_digitalocean/spaces_bucket_object.py +284 -283
- pulumi_digitalocean/spaces_bucket_policy.py +54 -53
- pulumi_digitalocean/spaces_key.py +388 -0
- pulumi_digitalocean/ssh_key.py +46 -45
- pulumi_digitalocean/tag.py +74 -73
- pulumi_digitalocean/uptime_alert.py +112 -111
- pulumi_digitalocean/uptime_check.py +90 -89
- pulumi_digitalocean/volume.py +183 -182
- pulumi_digitalocean/volume_attachment.py +37 -36
- pulumi_digitalocean/volume_snapshot.py +90 -89
- pulumi_digitalocean/vpc.py +100 -99
- pulumi_digitalocean/vpc_nat_gateway.py +722 -0
- pulumi_digitalocean/vpc_peering.py +55 -58
- {pulumi_digitalocean-4.40.0a1739511652.dist-info → pulumi_digitalocean-4.56.0a1766428645.dist-info}/METADATA +4 -4
- pulumi_digitalocean-4.56.0a1766428645.dist-info/RECORD +154 -0
- {pulumi_digitalocean-4.40.0a1739511652.dist-info → pulumi_digitalocean-4.56.0a1766428645.dist-info}/WHEEL +1 -1
- pulumi_digitalocean-4.40.0a1739511652.dist-info/RECORD +0 -108
- {pulumi_digitalocean-4.40.0a1739511652.dist-info → pulumi_digitalocean-4.56.0a1766428645.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'GetPartnerAttachmentResult',
|
|
21
|
+
'AwaitableGetPartnerAttachmentResult',
|
|
22
|
+
'get_partner_attachment',
|
|
23
|
+
'get_partner_attachment_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetPartnerAttachmentResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getPartnerAttachment.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, bgp=None, childrens=None, connection_bandwidth_in_mbps=None, created_at=None, id=None, naas_provider=None, name=None, parent_uuid=None, redundancy_zone=None, region=None, state=None, vpc_ids=None):
|
|
32
|
+
if bgp and not isinstance(bgp, dict):
|
|
33
|
+
raise TypeError("Expected argument 'bgp' to be a dict")
|
|
34
|
+
pulumi.set(__self__, "bgp", bgp)
|
|
35
|
+
if childrens and not isinstance(childrens, list):
|
|
36
|
+
raise TypeError("Expected argument 'childrens' to be a list")
|
|
37
|
+
pulumi.set(__self__, "childrens", childrens)
|
|
38
|
+
if connection_bandwidth_in_mbps and not isinstance(connection_bandwidth_in_mbps, int):
|
|
39
|
+
raise TypeError("Expected argument 'connection_bandwidth_in_mbps' to be a int")
|
|
40
|
+
pulumi.set(__self__, "connection_bandwidth_in_mbps", connection_bandwidth_in_mbps)
|
|
41
|
+
if created_at and not isinstance(created_at, str):
|
|
42
|
+
raise TypeError("Expected argument 'created_at' to be a str")
|
|
43
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
44
|
+
if id and not isinstance(id, str):
|
|
45
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
46
|
+
pulumi.set(__self__, "id", id)
|
|
47
|
+
if naas_provider and not isinstance(naas_provider, str):
|
|
48
|
+
raise TypeError("Expected argument 'naas_provider' to be a str")
|
|
49
|
+
pulumi.set(__self__, "naas_provider", naas_provider)
|
|
50
|
+
if name and not isinstance(name, str):
|
|
51
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
52
|
+
pulumi.set(__self__, "name", name)
|
|
53
|
+
if parent_uuid and not isinstance(parent_uuid, str):
|
|
54
|
+
raise TypeError("Expected argument 'parent_uuid' to be a str")
|
|
55
|
+
pulumi.set(__self__, "parent_uuid", parent_uuid)
|
|
56
|
+
if redundancy_zone and not isinstance(redundancy_zone, str):
|
|
57
|
+
raise TypeError("Expected argument 'redundancy_zone' to be a str")
|
|
58
|
+
pulumi.set(__self__, "redundancy_zone", redundancy_zone)
|
|
59
|
+
if region and not isinstance(region, str):
|
|
60
|
+
raise TypeError("Expected argument 'region' to be a str")
|
|
61
|
+
pulumi.set(__self__, "region", region)
|
|
62
|
+
if state and not isinstance(state, str):
|
|
63
|
+
raise TypeError("Expected argument 'state' to be a str")
|
|
64
|
+
pulumi.set(__self__, "state", state)
|
|
65
|
+
if vpc_ids and not isinstance(vpc_ids, list):
|
|
66
|
+
raise TypeError("Expected argument 'vpc_ids' to be a list")
|
|
67
|
+
pulumi.set(__self__, "vpc_ids", vpc_ids)
|
|
68
|
+
|
|
69
|
+
@_builtins.property
|
|
70
|
+
@pulumi.getter
|
|
71
|
+
def bgp(self) -> Optional['outputs.GetPartnerAttachmentBgpResult']:
|
|
72
|
+
return pulumi.get(self, "bgp")
|
|
73
|
+
|
|
74
|
+
@_builtins.property
|
|
75
|
+
@pulumi.getter
|
|
76
|
+
def childrens(self) -> Sequence[_builtins.str]:
|
|
77
|
+
return pulumi.get(self, "childrens")
|
|
78
|
+
|
|
79
|
+
@_builtins.property
|
|
80
|
+
@pulumi.getter(name="connectionBandwidthInMbps")
|
|
81
|
+
def connection_bandwidth_in_mbps(self) -> _builtins.int:
|
|
82
|
+
return pulumi.get(self, "connection_bandwidth_in_mbps")
|
|
83
|
+
|
|
84
|
+
@_builtins.property
|
|
85
|
+
@pulumi.getter(name="createdAt")
|
|
86
|
+
def created_at(self) -> _builtins.str:
|
|
87
|
+
return pulumi.get(self, "created_at")
|
|
88
|
+
|
|
89
|
+
@_builtins.property
|
|
90
|
+
@pulumi.getter
|
|
91
|
+
def id(self) -> _builtins.str:
|
|
92
|
+
return pulumi.get(self, "id")
|
|
93
|
+
|
|
94
|
+
@_builtins.property
|
|
95
|
+
@pulumi.getter(name="naasProvider")
|
|
96
|
+
def naas_provider(self) -> _builtins.str:
|
|
97
|
+
return pulumi.get(self, "naas_provider")
|
|
98
|
+
|
|
99
|
+
@_builtins.property
|
|
100
|
+
@pulumi.getter
|
|
101
|
+
def name(self) -> _builtins.str:
|
|
102
|
+
return pulumi.get(self, "name")
|
|
103
|
+
|
|
104
|
+
@_builtins.property
|
|
105
|
+
@pulumi.getter(name="parentUuid")
|
|
106
|
+
def parent_uuid(self) -> _builtins.str:
|
|
107
|
+
return pulumi.get(self, "parent_uuid")
|
|
108
|
+
|
|
109
|
+
@_builtins.property
|
|
110
|
+
@pulumi.getter(name="redundancyZone")
|
|
111
|
+
def redundancy_zone(self) -> Optional[_builtins.str]:
|
|
112
|
+
return pulumi.get(self, "redundancy_zone")
|
|
113
|
+
|
|
114
|
+
@_builtins.property
|
|
115
|
+
@pulumi.getter
|
|
116
|
+
def region(self) -> _builtins.str:
|
|
117
|
+
return pulumi.get(self, "region")
|
|
118
|
+
|
|
119
|
+
@_builtins.property
|
|
120
|
+
@pulumi.getter
|
|
121
|
+
def state(self) -> _builtins.str:
|
|
122
|
+
return pulumi.get(self, "state")
|
|
123
|
+
|
|
124
|
+
@_builtins.property
|
|
125
|
+
@pulumi.getter(name="vpcIds")
|
|
126
|
+
def vpc_ids(self) -> Sequence[_builtins.str]:
|
|
127
|
+
return pulumi.get(self, "vpc_ids")
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
class AwaitableGetPartnerAttachmentResult(GetPartnerAttachmentResult):
|
|
131
|
+
# pylint: disable=using-constant-test
|
|
132
|
+
def __await__(self):
|
|
133
|
+
if False:
|
|
134
|
+
yield self
|
|
135
|
+
return GetPartnerAttachmentResult(
|
|
136
|
+
bgp=self.bgp,
|
|
137
|
+
childrens=self.childrens,
|
|
138
|
+
connection_bandwidth_in_mbps=self.connection_bandwidth_in_mbps,
|
|
139
|
+
created_at=self.created_at,
|
|
140
|
+
id=self.id,
|
|
141
|
+
naas_provider=self.naas_provider,
|
|
142
|
+
name=self.name,
|
|
143
|
+
parent_uuid=self.parent_uuid,
|
|
144
|
+
redundancy_zone=self.redundancy_zone,
|
|
145
|
+
region=self.region,
|
|
146
|
+
state=self.state,
|
|
147
|
+
vpc_ids=self.vpc_ids)
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
def get_partner_attachment(bgp: Optional[Union['GetPartnerAttachmentBgpArgs', 'GetPartnerAttachmentBgpArgsDict']] = None,
|
|
151
|
+
id: Optional[_builtins.str] = None,
|
|
152
|
+
name: Optional[_builtins.str] = None,
|
|
153
|
+
redundancy_zone: Optional[_builtins.str] = None,
|
|
154
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPartnerAttachmentResult:
|
|
155
|
+
"""
|
|
156
|
+
Use this data source to access information about an existing resource.
|
|
157
|
+
"""
|
|
158
|
+
__args__ = dict()
|
|
159
|
+
__args__['bgp'] = bgp
|
|
160
|
+
__args__['id'] = id
|
|
161
|
+
__args__['name'] = name
|
|
162
|
+
__args__['redundancyZone'] = redundancy_zone
|
|
163
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
164
|
+
__ret__ = pulumi.runtime.invoke('digitalocean:index/getPartnerAttachment:getPartnerAttachment', __args__, opts=opts, typ=GetPartnerAttachmentResult).value
|
|
165
|
+
|
|
166
|
+
return AwaitableGetPartnerAttachmentResult(
|
|
167
|
+
bgp=pulumi.get(__ret__, 'bgp'),
|
|
168
|
+
childrens=pulumi.get(__ret__, 'childrens'),
|
|
169
|
+
connection_bandwidth_in_mbps=pulumi.get(__ret__, 'connection_bandwidth_in_mbps'),
|
|
170
|
+
created_at=pulumi.get(__ret__, 'created_at'),
|
|
171
|
+
id=pulumi.get(__ret__, 'id'),
|
|
172
|
+
naas_provider=pulumi.get(__ret__, 'naas_provider'),
|
|
173
|
+
name=pulumi.get(__ret__, 'name'),
|
|
174
|
+
parent_uuid=pulumi.get(__ret__, 'parent_uuid'),
|
|
175
|
+
redundancy_zone=pulumi.get(__ret__, 'redundancy_zone'),
|
|
176
|
+
region=pulumi.get(__ret__, 'region'),
|
|
177
|
+
state=pulumi.get(__ret__, 'state'),
|
|
178
|
+
vpc_ids=pulumi.get(__ret__, 'vpc_ids'))
|
|
179
|
+
def get_partner_attachment_output(bgp: Optional[pulumi.Input[Optional[Union['GetPartnerAttachmentBgpArgs', 'GetPartnerAttachmentBgpArgsDict']]]] = None,
|
|
180
|
+
id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
181
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
182
|
+
redundancy_zone: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
183
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPartnerAttachmentResult]:
|
|
184
|
+
"""
|
|
185
|
+
Use this data source to access information about an existing resource.
|
|
186
|
+
"""
|
|
187
|
+
__args__ = dict()
|
|
188
|
+
__args__['bgp'] = bgp
|
|
189
|
+
__args__['id'] = id
|
|
190
|
+
__args__['name'] = name
|
|
191
|
+
__args__['redundancyZone'] = redundancy_zone
|
|
192
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
193
|
+
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getPartnerAttachment:getPartnerAttachment', __args__, opts=opts, typ=GetPartnerAttachmentResult)
|
|
194
|
+
return __ret__.apply(lambda __response__: GetPartnerAttachmentResult(
|
|
195
|
+
bgp=pulumi.get(__response__, 'bgp'),
|
|
196
|
+
childrens=pulumi.get(__response__, 'childrens'),
|
|
197
|
+
connection_bandwidth_in_mbps=pulumi.get(__response__, 'connection_bandwidth_in_mbps'),
|
|
198
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
199
|
+
id=pulumi.get(__response__, 'id'),
|
|
200
|
+
naas_provider=pulumi.get(__response__, 'naas_provider'),
|
|
201
|
+
name=pulumi.get(__response__, 'name'),
|
|
202
|
+
parent_uuid=pulumi.get(__response__, 'parent_uuid'),
|
|
203
|
+
redundancy_zone=pulumi.get(__response__, 'redundancy_zone'),
|
|
204
|
+
region=pulumi.get(__response__, 'region'),
|
|
205
|
+
state=pulumi.get(__response__, 'state'),
|
|
206
|
+
vpc_ids=pulumi.get(__response__, 'vpc_ids')))
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
'GetPartnerAttachmentServiceKeyResult',
|
|
19
|
+
'AwaitableGetPartnerAttachmentServiceKeyResult',
|
|
20
|
+
'get_partner_attachment_service_key',
|
|
21
|
+
'get_partner_attachment_service_key_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetPartnerAttachmentServiceKeyResult:
|
|
26
|
+
"""
|
|
27
|
+
A collection of values returned by getPartnerAttachmentServiceKey.
|
|
28
|
+
"""
|
|
29
|
+
def __init__(__self__, attachment_id=None, created_at=None, id=None, state=None, value=None):
|
|
30
|
+
if attachment_id and not isinstance(attachment_id, str):
|
|
31
|
+
raise TypeError("Expected argument 'attachment_id' to be a str")
|
|
32
|
+
pulumi.set(__self__, "attachment_id", attachment_id)
|
|
33
|
+
if created_at and not isinstance(created_at, str):
|
|
34
|
+
raise TypeError("Expected argument 'created_at' to be a str")
|
|
35
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
36
|
+
if id and not isinstance(id, str):
|
|
37
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
38
|
+
pulumi.set(__self__, "id", id)
|
|
39
|
+
if state and not isinstance(state, str):
|
|
40
|
+
raise TypeError("Expected argument 'state' to be a str")
|
|
41
|
+
pulumi.set(__self__, "state", state)
|
|
42
|
+
if value and not isinstance(value, str):
|
|
43
|
+
raise TypeError("Expected argument 'value' to be a str")
|
|
44
|
+
pulumi.set(__self__, "value", value)
|
|
45
|
+
|
|
46
|
+
@_builtins.property
|
|
47
|
+
@pulumi.getter(name="attachmentId")
|
|
48
|
+
def attachment_id(self) -> _builtins.str:
|
|
49
|
+
return pulumi.get(self, "attachment_id")
|
|
50
|
+
|
|
51
|
+
@_builtins.property
|
|
52
|
+
@pulumi.getter(name="createdAt")
|
|
53
|
+
def created_at(self) -> _builtins.str:
|
|
54
|
+
return pulumi.get(self, "created_at")
|
|
55
|
+
|
|
56
|
+
@_builtins.property
|
|
57
|
+
@pulumi.getter
|
|
58
|
+
def id(self) -> _builtins.str:
|
|
59
|
+
"""
|
|
60
|
+
The provider-assigned unique ID for this managed resource.
|
|
61
|
+
"""
|
|
62
|
+
return pulumi.get(self, "id")
|
|
63
|
+
|
|
64
|
+
@_builtins.property
|
|
65
|
+
@pulumi.getter
|
|
66
|
+
def state(self) -> _builtins.str:
|
|
67
|
+
return pulumi.get(self, "state")
|
|
68
|
+
|
|
69
|
+
@_builtins.property
|
|
70
|
+
@pulumi.getter
|
|
71
|
+
def value(self) -> _builtins.str:
|
|
72
|
+
return pulumi.get(self, "value")
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
class AwaitableGetPartnerAttachmentServiceKeyResult(GetPartnerAttachmentServiceKeyResult):
|
|
76
|
+
# pylint: disable=using-constant-test
|
|
77
|
+
def __await__(self):
|
|
78
|
+
if False:
|
|
79
|
+
yield self
|
|
80
|
+
return GetPartnerAttachmentServiceKeyResult(
|
|
81
|
+
attachment_id=self.attachment_id,
|
|
82
|
+
created_at=self.created_at,
|
|
83
|
+
id=self.id,
|
|
84
|
+
state=self.state,
|
|
85
|
+
value=self.value)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
def get_partner_attachment_service_key(attachment_id: Optional[_builtins.str] = None,
|
|
89
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPartnerAttachmentServiceKeyResult:
|
|
90
|
+
"""
|
|
91
|
+
Use this data source to access information about an existing resource.
|
|
92
|
+
"""
|
|
93
|
+
__args__ = dict()
|
|
94
|
+
__args__['attachmentId'] = attachment_id
|
|
95
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
96
|
+
__ret__ = pulumi.runtime.invoke('digitalocean:index/getPartnerAttachmentServiceKey:getPartnerAttachmentServiceKey', __args__, opts=opts, typ=GetPartnerAttachmentServiceKeyResult).value
|
|
97
|
+
|
|
98
|
+
return AwaitableGetPartnerAttachmentServiceKeyResult(
|
|
99
|
+
attachment_id=pulumi.get(__ret__, 'attachment_id'),
|
|
100
|
+
created_at=pulumi.get(__ret__, 'created_at'),
|
|
101
|
+
id=pulumi.get(__ret__, 'id'),
|
|
102
|
+
state=pulumi.get(__ret__, 'state'),
|
|
103
|
+
value=pulumi.get(__ret__, 'value'))
|
|
104
|
+
def get_partner_attachment_service_key_output(attachment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
105
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPartnerAttachmentServiceKeyResult]:
|
|
106
|
+
"""
|
|
107
|
+
Use this data source to access information about an existing resource.
|
|
108
|
+
"""
|
|
109
|
+
__args__ = dict()
|
|
110
|
+
__args__['attachmentId'] = attachment_id
|
|
111
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
112
|
+
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getPartnerAttachmentServiceKey:getPartnerAttachmentServiceKey', __args__, opts=opts, typ=GetPartnerAttachmentServiceKeyResult)
|
|
113
|
+
return __ret__.apply(lambda __response__: GetPartnerAttachmentServiceKeyResult(
|
|
114
|
+
attachment_id=pulumi.get(__response__, 'attachment_id'),
|
|
115
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
116
|
+
id=pulumi.get(__response__, 'id'),
|
|
117
|
+
state=pulumi.get(__response__, 'state'),
|
|
118
|
+
value=pulumi.get(__response__, 'value')))
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -61,80 +61,80 @@ class GetProjectResult:
|
|
|
61
61
|
raise TypeError("Expected argument 'updated_at' to be a str")
|
|
62
62
|
pulumi.set(__self__, "updated_at", updated_at)
|
|
63
63
|
|
|
64
|
-
@property
|
|
64
|
+
@_builtins.property
|
|
65
65
|
@pulumi.getter(name="createdAt")
|
|
66
|
-
def created_at(self) -> str:
|
|
66
|
+
def created_at(self) -> _builtins.str:
|
|
67
67
|
"""
|
|
68
68
|
The date and time when the project was created, (ISO8601)
|
|
69
69
|
"""
|
|
70
70
|
return pulumi.get(self, "created_at")
|
|
71
71
|
|
|
72
|
-
@property
|
|
72
|
+
@_builtins.property
|
|
73
73
|
@pulumi.getter
|
|
74
|
-
def description(self) -> str:
|
|
74
|
+
def description(self) -> _builtins.str:
|
|
75
75
|
"""
|
|
76
76
|
The description of the project
|
|
77
77
|
"""
|
|
78
78
|
return pulumi.get(self, "description")
|
|
79
79
|
|
|
80
|
-
@property
|
|
80
|
+
@_builtins.property
|
|
81
81
|
@pulumi.getter
|
|
82
|
-
def environment(self) -> str:
|
|
82
|
+
def environment(self) -> _builtins.str:
|
|
83
83
|
"""
|
|
84
84
|
The environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`.
|
|
85
85
|
"""
|
|
86
86
|
return pulumi.get(self, "environment")
|
|
87
87
|
|
|
88
|
-
@property
|
|
88
|
+
@_builtins.property
|
|
89
89
|
@pulumi.getter
|
|
90
|
-
def id(self) -> str:
|
|
90
|
+
def id(self) -> _builtins.str:
|
|
91
91
|
return pulumi.get(self, "id")
|
|
92
92
|
|
|
93
|
-
@property
|
|
93
|
+
@_builtins.property
|
|
94
94
|
@pulumi.getter(name="isDefault")
|
|
95
|
-
def is_default(self) -> bool:
|
|
95
|
+
def is_default(self) -> _builtins.bool:
|
|
96
96
|
return pulumi.get(self, "is_default")
|
|
97
97
|
|
|
98
|
-
@property
|
|
98
|
+
@_builtins.property
|
|
99
99
|
@pulumi.getter
|
|
100
|
-
def name(self) -> str:
|
|
100
|
+
def name(self) -> _builtins.str:
|
|
101
101
|
return pulumi.get(self, "name")
|
|
102
102
|
|
|
103
|
-
@property
|
|
103
|
+
@_builtins.property
|
|
104
104
|
@pulumi.getter(name="ownerId")
|
|
105
|
-
def owner_id(self) -> int:
|
|
105
|
+
def owner_id(self) -> _builtins.int:
|
|
106
106
|
"""
|
|
107
107
|
The ID of the project owner.
|
|
108
108
|
"""
|
|
109
109
|
return pulumi.get(self, "owner_id")
|
|
110
110
|
|
|
111
|
-
@property
|
|
111
|
+
@_builtins.property
|
|
112
112
|
@pulumi.getter(name="ownerUuid")
|
|
113
|
-
def owner_uuid(self) -> str:
|
|
113
|
+
def owner_uuid(self) -> _builtins.str:
|
|
114
114
|
"""
|
|
115
115
|
The unique universal identifier of the project owner.
|
|
116
116
|
"""
|
|
117
117
|
return pulumi.get(self, "owner_uuid")
|
|
118
118
|
|
|
119
|
-
@property
|
|
119
|
+
@_builtins.property
|
|
120
120
|
@pulumi.getter
|
|
121
|
-
def purpose(self) -> str:
|
|
121
|
+
def purpose(self) -> _builtins.str:
|
|
122
122
|
"""
|
|
123
123
|
The purpose of the project, (Default: "Web Application")
|
|
124
124
|
"""
|
|
125
125
|
return pulumi.get(self, "purpose")
|
|
126
126
|
|
|
127
|
-
@property
|
|
127
|
+
@_builtins.property
|
|
128
128
|
@pulumi.getter
|
|
129
|
-
def resources(self) -> Sequence[str]:
|
|
129
|
+
def resources(self) -> Sequence[_builtins.str]:
|
|
130
130
|
"""
|
|
131
131
|
A set of uniform resource names (URNs) for the resources associated with the project
|
|
132
132
|
"""
|
|
133
133
|
return pulumi.get(self, "resources")
|
|
134
134
|
|
|
135
|
-
@property
|
|
135
|
+
@_builtins.property
|
|
136
136
|
@pulumi.getter(name="updatedAt")
|
|
137
|
-
def updated_at(self) -> str:
|
|
137
|
+
def updated_at(self) -> _builtins.str:
|
|
138
138
|
"""
|
|
139
139
|
The date and time when the project was last updated, (ISO8601)
|
|
140
140
|
"""
|
|
@@ -160,8 +160,8 @@ class AwaitableGetProjectResult(GetProjectResult):
|
|
|
160
160
|
updated_at=self.updated_at)
|
|
161
161
|
|
|
162
162
|
|
|
163
|
-
def get_project(id: Optional[str] = None,
|
|
164
|
-
name: Optional[str] = None,
|
|
163
|
+
def get_project(id: Optional[_builtins.str] = None,
|
|
164
|
+
name: Optional[_builtins.str] = None,
|
|
165
165
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectResult:
|
|
166
166
|
"""
|
|
167
167
|
Get information on a single DigitalOcean project. If neither the `id` nor `name` attributes are provided,
|
|
@@ -178,8 +178,8 @@ def get_project(id: Optional[str] = None,
|
|
|
178
178
|
```
|
|
179
179
|
|
|
180
180
|
|
|
181
|
-
:param str id: the ID of the project to retrieve
|
|
182
|
-
:param str name: the name of the project to retrieve. The data source will raise an error if more than
|
|
181
|
+
:param _builtins.str id: the ID of the project to retrieve
|
|
182
|
+
:param _builtins.str name: the name of the project to retrieve. The data source will raise an error if more than
|
|
183
183
|
one project has the provided name or if no project has that name.
|
|
184
184
|
"""
|
|
185
185
|
__args__ = dict()
|
|
@@ -200,8 +200,8 @@ def get_project(id: Optional[str] = None,
|
|
|
200
200
|
purpose=pulumi.get(__ret__, 'purpose'),
|
|
201
201
|
resources=pulumi.get(__ret__, 'resources'),
|
|
202
202
|
updated_at=pulumi.get(__ret__, 'updated_at'))
|
|
203
|
-
def get_project_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
204
|
-
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
203
|
+
def get_project_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
204
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
205
205
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectResult]:
|
|
206
206
|
"""
|
|
207
207
|
Get information on a single DigitalOcean project. If neither the `id` nor `name` attributes are provided,
|
|
@@ -218,8 +218,8 @@ def get_project_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
218
218
|
```
|
|
219
219
|
|
|
220
220
|
|
|
221
|
-
:param str id: the ID of the project to retrieve
|
|
222
|
-
:param str name: the name of the project to retrieve. The data source will raise an error if more than
|
|
221
|
+
:param _builtins.str id: the ID of the project to retrieve
|
|
222
|
+
:param _builtins.str name: the name of the project to retrieve. The data source will raise an error if more than
|
|
223
223
|
one project has the provided name or if no project has that name.
|
|
224
224
|
"""
|
|
225
225
|
__args__ = dict()
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -42,20 +42,20 @@ class GetProjectsResult:
|
|
|
42
42
|
raise TypeError("Expected argument 'sorts' to be a list")
|
|
43
43
|
pulumi.set(__self__, "sorts", sorts)
|
|
44
44
|
|
|
45
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
46
46
|
@pulumi.getter
|
|
47
47
|
def filters(self) -> Optional[Sequence['outputs.GetProjectsFilterResult']]:
|
|
48
48
|
return pulumi.get(self, "filters")
|
|
49
49
|
|
|
50
|
-
@property
|
|
50
|
+
@_builtins.property
|
|
51
51
|
@pulumi.getter
|
|
52
|
-
def id(self) -> str:
|
|
52
|
+
def id(self) -> _builtins.str:
|
|
53
53
|
"""
|
|
54
54
|
The provider-assigned unique ID for this managed resource.
|
|
55
55
|
"""
|
|
56
56
|
return pulumi.get(self, "id")
|
|
57
57
|
|
|
58
|
-
@property
|
|
58
|
+
@_builtins.property
|
|
59
59
|
@pulumi.getter
|
|
60
60
|
def projects(self) -> Sequence['outputs.GetProjectsProjectResult']:
|
|
61
61
|
"""
|
|
@@ -64,7 +64,7 @@ class GetProjectsResult:
|
|
|
64
64
|
"""
|
|
65
65
|
return pulumi.get(self, "projects")
|
|
66
66
|
|
|
67
|
-
@property
|
|
67
|
+
@_builtins.property
|
|
68
68
|
@pulumi.getter
|
|
69
69
|
def sorts(self) -> Optional[Sequence['outputs.GetProjectsSortResult']]:
|
|
70
70
|
return pulumi.get(self, "sorts")
|