pulumi-digitalocean 4.48.0a1750477222__py3-none-any.whl → 4.49.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.

@@ -0,0 +1,129 @@
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
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from . import _utilities
17
+ from . import outputs
18
+ from ._inputs import *
19
+
20
+ __all__ = [
21
+ 'GetGenaiAgentsResult',
22
+ 'AwaitableGetGenaiAgentsResult',
23
+ 'get_genai_agents',
24
+ 'get_genai_agents_output',
25
+ ]
26
+
27
+ @pulumi.output_type
28
+ class GetGenaiAgentsResult:
29
+ """
30
+ A collection of values returned by getGenaiAgents.
31
+ """
32
+ def __init__(__self__, agents=None, filters=None, id=None, only_deployed=None, sorts=None):
33
+ if agents and not isinstance(agents, list):
34
+ raise TypeError("Expected argument 'agents' to be a list")
35
+ pulumi.set(__self__, "agents", agents)
36
+ if filters and not isinstance(filters, list):
37
+ raise TypeError("Expected argument 'filters' to be a list")
38
+ pulumi.set(__self__, "filters", filters)
39
+ if id and not isinstance(id, str):
40
+ raise TypeError("Expected argument 'id' to be a str")
41
+ pulumi.set(__self__, "id", id)
42
+ if only_deployed and not isinstance(only_deployed, bool):
43
+ raise TypeError("Expected argument 'only_deployed' to be a bool")
44
+ pulumi.set(__self__, "only_deployed", only_deployed)
45
+ if sorts and not isinstance(sorts, list):
46
+ raise TypeError("Expected argument 'sorts' to be a list")
47
+ pulumi.set(__self__, "sorts", sorts)
48
+
49
+ @property
50
+ @pulumi.getter
51
+ def agents(self) -> Sequence['outputs.GetGenaiAgentsAgentResult']:
52
+ return pulumi.get(self, "agents")
53
+
54
+ @property
55
+ @pulumi.getter
56
+ def filters(self) -> Optional[Sequence['outputs.GetGenaiAgentsFilterResult']]:
57
+ return pulumi.get(self, "filters")
58
+
59
+ @property
60
+ @pulumi.getter
61
+ def id(self) -> builtins.str:
62
+ """
63
+ The provider-assigned unique ID for this managed resource.
64
+ """
65
+ return pulumi.get(self, "id")
66
+
67
+ @property
68
+ @pulumi.getter(name="onlyDeployed")
69
+ def only_deployed(self) -> Optional[builtins.bool]:
70
+ return pulumi.get(self, "only_deployed")
71
+
72
+ @property
73
+ @pulumi.getter
74
+ def sorts(self) -> Optional[Sequence['outputs.GetGenaiAgentsSortResult']]:
75
+ return pulumi.get(self, "sorts")
76
+
77
+
78
+ class AwaitableGetGenaiAgentsResult(GetGenaiAgentsResult):
79
+ # pylint: disable=using-constant-test
80
+ def __await__(self):
81
+ if False:
82
+ yield self
83
+ return GetGenaiAgentsResult(
84
+ agents=self.agents,
85
+ filters=self.filters,
86
+ id=self.id,
87
+ only_deployed=self.only_deployed,
88
+ sorts=self.sorts)
89
+
90
+
91
+ def get_genai_agents(filters: Optional[Sequence[Union['GetGenaiAgentsFilterArgs', 'GetGenaiAgentsFilterArgsDict']]] = None,
92
+ only_deployed: Optional[builtins.bool] = None,
93
+ sorts: Optional[Sequence[Union['GetGenaiAgentsSortArgs', 'GetGenaiAgentsSortArgsDict']]] = None,
94
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGenaiAgentsResult:
95
+ """
96
+ Use this data source to access information about an existing resource.
97
+ """
98
+ __args__ = dict()
99
+ __args__['filters'] = filters
100
+ __args__['onlyDeployed'] = only_deployed
101
+ __args__['sorts'] = sorts
102
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
103
+ __ret__ = pulumi.runtime.invoke('digitalocean:index/getGenaiAgents:getGenaiAgents', __args__, opts=opts, typ=GetGenaiAgentsResult).value
104
+
105
+ return AwaitableGetGenaiAgentsResult(
106
+ agents=pulumi.get(__ret__, 'agents'),
107
+ filters=pulumi.get(__ret__, 'filters'),
108
+ id=pulumi.get(__ret__, 'id'),
109
+ only_deployed=pulumi.get(__ret__, 'only_deployed'),
110
+ sorts=pulumi.get(__ret__, 'sorts'))
111
+ def get_genai_agents_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetGenaiAgentsFilterArgs', 'GetGenaiAgentsFilterArgsDict']]]]] = None,
112
+ only_deployed: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
113
+ sorts: Optional[pulumi.Input[Optional[Sequence[Union['GetGenaiAgentsSortArgs', 'GetGenaiAgentsSortArgsDict']]]]] = None,
114
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGenaiAgentsResult]:
115
+ """
116
+ Use this data source to access information about an existing resource.
117
+ """
118
+ __args__ = dict()
119
+ __args__['filters'] = filters
120
+ __args__['onlyDeployed'] = only_deployed
121
+ __args__['sorts'] = sorts
122
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
123
+ __ret__ = pulumi.runtime.invoke_output('digitalocean:index/getGenaiAgents:getGenaiAgents', __args__, opts=opts, typ=GetGenaiAgentsResult)
124
+ return __ret__.apply(lambda __response__: GetGenaiAgentsResult(
125
+ agents=pulumi.get(__response__, 'agents'),
126
+ filters=pulumi.get(__response__, 'filters'),
127
+ id=pulumi.get(__response__, 'id'),
128
+ only_deployed=pulumi.get(__response__, 'only_deployed'),
129
+ sorts=pulumi.get(__response__, 'sorts')))
@@ -29,10 +29,13 @@ class GetPartnerAttachmentResult:
29
29
  """
30
30
  A collection of values returned by getPartnerAttachment.
31
31
  """
32
- def __init__(__self__, bgp=None, connection_bandwidth_in_mbps=None, created_at=None, id=None, naas_provider=None, name=None, redundancy_zone=None, region=None, state=None, vpc_ids=None):
32
+ 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):
33
33
  if bgp and not isinstance(bgp, dict):
34
34
  raise TypeError("Expected argument 'bgp' to be a dict")
35
35
  pulumi.set(__self__, "bgp", bgp)
36
+ if childrens and not isinstance(childrens, list):
37
+ raise TypeError("Expected argument 'childrens' to be a list")
38
+ pulumi.set(__self__, "childrens", childrens)
36
39
  if connection_bandwidth_in_mbps and not isinstance(connection_bandwidth_in_mbps, int):
37
40
  raise TypeError("Expected argument 'connection_bandwidth_in_mbps' to be a int")
38
41
  pulumi.set(__self__, "connection_bandwidth_in_mbps", connection_bandwidth_in_mbps)
@@ -48,6 +51,9 @@ class GetPartnerAttachmentResult:
48
51
  if name and not isinstance(name, str):
49
52
  raise TypeError("Expected argument 'name' to be a str")
50
53
  pulumi.set(__self__, "name", name)
54
+ if parent_uuid and not isinstance(parent_uuid, str):
55
+ raise TypeError("Expected argument 'parent_uuid' to be a str")
56
+ pulumi.set(__self__, "parent_uuid", parent_uuid)
51
57
  if redundancy_zone and not isinstance(redundancy_zone, str):
52
58
  raise TypeError("Expected argument 'redundancy_zone' to be a str")
53
59
  pulumi.set(__self__, "redundancy_zone", redundancy_zone)
@@ -66,6 +72,11 @@ class GetPartnerAttachmentResult:
66
72
  def bgp(self) -> Optional['outputs.GetPartnerAttachmentBgpResult']:
67
73
  return pulumi.get(self, "bgp")
68
74
 
75
+ @property
76
+ @pulumi.getter
77
+ def childrens(self) -> Sequence[builtins.str]:
78
+ return pulumi.get(self, "childrens")
79
+
69
80
  @property
70
81
  @pulumi.getter(name="connectionBandwidthInMbps")
71
82
  def connection_bandwidth_in_mbps(self) -> builtins.int:
@@ -91,6 +102,11 @@ class GetPartnerAttachmentResult:
91
102
  def name(self) -> builtins.str:
92
103
  return pulumi.get(self, "name")
93
104
 
105
+ @property
106
+ @pulumi.getter(name="parentUuid")
107
+ def parent_uuid(self) -> builtins.str:
108
+ return pulumi.get(self, "parent_uuid")
109
+
94
110
  @property
95
111
  @pulumi.getter(name="redundancyZone")
96
112
  def redundancy_zone(self) -> Optional[builtins.str]:
@@ -119,11 +135,13 @@ class AwaitableGetPartnerAttachmentResult(GetPartnerAttachmentResult):
119
135
  yield self
120
136
  return GetPartnerAttachmentResult(
121
137
  bgp=self.bgp,
138
+ childrens=self.childrens,
122
139
  connection_bandwidth_in_mbps=self.connection_bandwidth_in_mbps,
123
140
  created_at=self.created_at,
124
141
  id=self.id,
125
142
  naas_provider=self.naas_provider,
126
143
  name=self.name,
144
+ parent_uuid=self.parent_uuid,
127
145
  redundancy_zone=self.redundancy_zone,
128
146
  region=self.region,
129
147
  state=self.state,
@@ -148,11 +166,13 @@ def get_partner_attachment(bgp: Optional[Union['GetPartnerAttachmentBgpArgs', 'G
148
166
 
149
167
  return AwaitableGetPartnerAttachmentResult(
150
168
  bgp=pulumi.get(__ret__, 'bgp'),
169
+ childrens=pulumi.get(__ret__, 'childrens'),
151
170
  connection_bandwidth_in_mbps=pulumi.get(__ret__, 'connection_bandwidth_in_mbps'),
152
171
  created_at=pulumi.get(__ret__, 'created_at'),
153
172
  id=pulumi.get(__ret__, 'id'),
154
173
  naas_provider=pulumi.get(__ret__, 'naas_provider'),
155
174
  name=pulumi.get(__ret__, 'name'),
175
+ parent_uuid=pulumi.get(__ret__, 'parent_uuid'),
156
176
  redundancy_zone=pulumi.get(__ret__, 'redundancy_zone'),
157
177
  region=pulumi.get(__ret__, 'region'),
158
178
  state=pulumi.get(__ret__, 'state'),
@@ -174,11 +194,13 @@ def get_partner_attachment_output(bgp: Optional[pulumi.Input[Optional[Union['Get
174
194
  __ret__ = pulumi.runtime.invoke_output('digitalocean:index/getPartnerAttachment:getPartnerAttachment', __args__, opts=opts, typ=GetPartnerAttachmentResult)
175
195
  return __ret__.apply(lambda __response__: GetPartnerAttachmentResult(
176
196
  bgp=pulumi.get(__response__, 'bgp'),
197
+ childrens=pulumi.get(__response__, 'childrens'),
177
198
  connection_bandwidth_in_mbps=pulumi.get(__response__, 'connection_bandwidth_in_mbps'),
178
199
  created_at=pulumi.get(__response__, 'created_at'),
179
200
  id=pulumi.get(__response__, 'id'),
180
201
  naas_provider=pulumi.get(__response__, 'naas_provider'),
181
202
  name=pulumi.get(__response__, 'name'),
203
+ parent_uuid=pulumi.get(__response__, 'parent_uuid'),
182
204
  redundancy_zone=pulumi.get(__response__, 'redundancy_zone'),
183
205
  region=pulumi.get(__response__, 'region'),
184
206
  state=pulumi.get(__response__, 'state'),
@@ -0,0 +1,119 @@
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
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from . import _utilities
17
+
18
+ __all__ = [
19
+ 'GetPartnerAttachmentServiceKeyResult',
20
+ 'AwaitableGetPartnerAttachmentServiceKeyResult',
21
+ 'get_partner_attachment_service_key',
22
+ 'get_partner_attachment_service_key_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetPartnerAttachmentServiceKeyResult:
27
+ """
28
+ A collection of values returned by getPartnerAttachmentServiceKey.
29
+ """
30
+ def __init__(__self__, attachment_id=None, created_at=None, id=None, state=None, value=None):
31
+ if attachment_id and not isinstance(attachment_id, str):
32
+ raise TypeError("Expected argument 'attachment_id' to be a str")
33
+ pulumi.set(__self__, "attachment_id", attachment_id)
34
+ if created_at and not isinstance(created_at, str):
35
+ raise TypeError("Expected argument 'created_at' to be a str")
36
+ pulumi.set(__self__, "created_at", created_at)
37
+ if id and not isinstance(id, str):
38
+ raise TypeError("Expected argument 'id' to be a str")
39
+ pulumi.set(__self__, "id", id)
40
+ if state and not isinstance(state, str):
41
+ raise TypeError("Expected argument 'state' to be a str")
42
+ pulumi.set(__self__, "state", state)
43
+ if value and not isinstance(value, str):
44
+ raise TypeError("Expected argument 'value' to be a str")
45
+ pulumi.set(__self__, "value", value)
46
+
47
+ @property
48
+ @pulumi.getter(name="attachmentId")
49
+ def attachment_id(self) -> builtins.str:
50
+ return pulumi.get(self, "attachment_id")
51
+
52
+ @property
53
+ @pulumi.getter(name="createdAt")
54
+ def created_at(self) -> builtins.str:
55
+ return pulumi.get(self, "created_at")
56
+
57
+ @property
58
+ @pulumi.getter
59
+ def id(self) -> builtins.str:
60
+ """
61
+ The provider-assigned unique ID for this managed resource.
62
+ """
63
+ return pulumi.get(self, "id")
64
+
65
+ @property
66
+ @pulumi.getter
67
+ def state(self) -> builtins.str:
68
+ return pulumi.get(self, "state")
69
+
70
+ @property
71
+ @pulumi.getter
72
+ def value(self) -> builtins.str:
73
+ return pulumi.get(self, "value")
74
+
75
+
76
+ class AwaitableGetPartnerAttachmentServiceKeyResult(GetPartnerAttachmentServiceKeyResult):
77
+ # pylint: disable=using-constant-test
78
+ def __await__(self):
79
+ if False:
80
+ yield self
81
+ return GetPartnerAttachmentServiceKeyResult(
82
+ attachment_id=self.attachment_id,
83
+ created_at=self.created_at,
84
+ id=self.id,
85
+ state=self.state,
86
+ value=self.value)
87
+
88
+
89
+ def get_partner_attachment_service_key(attachment_id: Optional[builtins.str] = None,
90
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPartnerAttachmentServiceKeyResult:
91
+ """
92
+ Use this data source to access information about an existing resource.
93
+ """
94
+ __args__ = dict()
95
+ __args__['attachmentId'] = attachment_id
96
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
97
+ __ret__ = pulumi.runtime.invoke('digitalocean:index/getPartnerAttachmentServiceKey:getPartnerAttachmentServiceKey', __args__, opts=opts, typ=GetPartnerAttachmentServiceKeyResult).value
98
+
99
+ return AwaitableGetPartnerAttachmentServiceKeyResult(
100
+ attachment_id=pulumi.get(__ret__, 'attachment_id'),
101
+ created_at=pulumi.get(__ret__, 'created_at'),
102
+ id=pulumi.get(__ret__, 'id'),
103
+ state=pulumi.get(__ret__, 'state'),
104
+ value=pulumi.get(__ret__, 'value'))
105
+ def get_partner_attachment_service_key_output(attachment_id: Optional[pulumi.Input[builtins.str]] = None,
106
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPartnerAttachmentServiceKeyResult]:
107
+ """
108
+ Use this data source to access information about an existing resource.
109
+ """
110
+ __args__ = dict()
111
+ __args__['attachmentId'] = attachment_id
112
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
113
+ __ret__ = pulumi.runtime.invoke_output('digitalocean:index/getPartnerAttachmentServiceKey:getPartnerAttachmentServiceKey', __args__, opts=opts, typ=GetPartnerAttachmentServiceKeyResult)
114
+ return __ret__.apply(lambda __response__: GetPartnerAttachmentServiceKeyResult(
115
+ attachment_id=pulumi.get(__response__, 'attachment_id'),
116
+ created_at=pulumi.get(__response__, 'created_at'),
117
+ id=pulumi.get(__response__, 'id'),
118
+ state=pulumi.get(__response__, 'state'),
119
+ value=pulumi.get(__response__, 'value')))