pulumi-digitalocean 4.54.0a1760375513__py3-none-any.whl → 4.55.0a1760420979__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 +2 -0
- pulumi_digitalocean/_inputs.py +198 -0
- pulumi_digitalocean/get_genai_models.py +113 -0
- pulumi_digitalocean/get_genai_regions.py +113 -0
- pulumi_digitalocean/outputs.py +403 -0
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- {pulumi_digitalocean-4.54.0a1760375513.dist-info → pulumi_digitalocean-4.55.0a1760420979.dist-info}/METADATA +1 -1
- {pulumi_digitalocean-4.54.0a1760375513.dist-info → pulumi_digitalocean-4.55.0a1760420979.dist-info}/RECORD +10 -8
- {pulumi_digitalocean-4.54.0a1760375513.dist-info → pulumi_digitalocean-4.55.0a1760420979.dist-info}/WHEEL +0 -0
- {pulumi_digitalocean-4.54.0a1760375513.dist-info → pulumi_digitalocean-4.55.0a1760420979.dist-info}/top_level.txt +0 -0
pulumi_digitalocean/__init__.py
CHANGED
|
@@ -69,8 +69,10 @@ from .get_genai_agents_by_openai_api_key import *
|
|
|
69
69
|
from .get_genai_knowledge_base import *
|
|
70
70
|
from .get_genai_knowledge_base_data_sources import *
|
|
71
71
|
from .get_genai_knowledge_bases import *
|
|
72
|
+
from .get_genai_models import *
|
|
72
73
|
from .get_genai_openai_api_key import *
|
|
73
74
|
from .get_genai_openai_api_keys import *
|
|
75
|
+
from .get_genai_regions import *
|
|
74
76
|
from .get_image import *
|
|
75
77
|
from .get_images import *
|
|
76
78
|
from .get_kubernetes_cluster import *
|
pulumi_digitalocean/_inputs.py
CHANGED
|
@@ -494,10 +494,18 @@ __all__ = [
|
|
|
494
494
|
'GetGenaiKnowledgeBasesFilterArgsDict',
|
|
495
495
|
'GetGenaiKnowledgeBasesSortArgs',
|
|
496
496
|
'GetGenaiKnowledgeBasesSortArgsDict',
|
|
497
|
+
'GetGenaiModelsFilterArgs',
|
|
498
|
+
'GetGenaiModelsFilterArgsDict',
|
|
499
|
+
'GetGenaiModelsSortArgs',
|
|
500
|
+
'GetGenaiModelsSortArgsDict',
|
|
497
501
|
'GetGenaiOpenaiApiKeysFilterArgs',
|
|
498
502
|
'GetGenaiOpenaiApiKeysFilterArgsDict',
|
|
499
503
|
'GetGenaiOpenaiApiKeysSortArgs',
|
|
500
504
|
'GetGenaiOpenaiApiKeysSortArgsDict',
|
|
505
|
+
'GetGenaiRegionsFilterArgs',
|
|
506
|
+
'GetGenaiRegionsFilterArgsDict',
|
|
507
|
+
'GetGenaiRegionsSortArgs',
|
|
508
|
+
'GetGenaiRegionsSortArgsDict',
|
|
501
509
|
'GetImagesFilterArgs',
|
|
502
510
|
'GetImagesFilterArgsDict',
|
|
503
511
|
'GetImagesSortArgs',
|
|
@@ -25704,6 +25712,101 @@ class GetGenaiKnowledgeBasesSortArgs:
|
|
|
25704
25712
|
pulumi.set(self, "direction", value)
|
|
25705
25713
|
|
|
25706
25714
|
|
|
25715
|
+
if not MYPY:
|
|
25716
|
+
class GetGenaiModelsFilterArgsDict(TypedDict):
|
|
25717
|
+
key: _builtins.str
|
|
25718
|
+
values: Sequence[_builtins.str]
|
|
25719
|
+
all: NotRequired[_builtins.bool]
|
|
25720
|
+
match_by: NotRequired[_builtins.str]
|
|
25721
|
+
elif False:
|
|
25722
|
+
GetGenaiModelsFilterArgsDict: TypeAlias = Mapping[str, Any]
|
|
25723
|
+
|
|
25724
|
+
@pulumi.input_type
|
|
25725
|
+
class GetGenaiModelsFilterArgs:
|
|
25726
|
+
def __init__(__self__, *,
|
|
25727
|
+
key: _builtins.str,
|
|
25728
|
+
values: Sequence[_builtins.str],
|
|
25729
|
+
all: Optional[_builtins.bool] = None,
|
|
25730
|
+
match_by: Optional[_builtins.str] = None):
|
|
25731
|
+
pulumi.set(__self__, "key", key)
|
|
25732
|
+
pulumi.set(__self__, "values", values)
|
|
25733
|
+
if all is not None:
|
|
25734
|
+
pulumi.set(__self__, "all", all)
|
|
25735
|
+
if match_by is not None:
|
|
25736
|
+
pulumi.set(__self__, "match_by", match_by)
|
|
25737
|
+
|
|
25738
|
+
@_builtins.property
|
|
25739
|
+
@pulumi.getter
|
|
25740
|
+
def key(self) -> _builtins.str:
|
|
25741
|
+
return pulumi.get(self, "key")
|
|
25742
|
+
|
|
25743
|
+
@key.setter
|
|
25744
|
+
def key(self, value: _builtins.str):
|
|
25745
|
+
pulumi.set(self, "key", value)
|
|
25746
|
+
|
|
25747
|
+
@_builtins.property
|
|
25748
|
+
@pulumi.getter
|
|
25749
|
+
def values(self) -> Sequence[_builtins.str]:
|
|
25750
|
+
return pulumi.get(self, "values")
|
|
25751
|
+
|
|
25752
|
+
@values.setter
|
|
25753
|
+
def values(self, value: Sequence[_builtins.str]):
|
|
25754
|
+
pulumi.set(self, "values", value)
|
|
25755
|
+
|
|
25756
|
+
@_builtins.property
|
|
25757
|
+
@pulumi.getter
|
|
25758
|
+
def all(self) -> Optional[_builtins.bool]:
|
|
25759
|
+
return pulumi.get(self, "all")
|
|
25760
|
+
|
|
25761
|
+
@all.setter
|
|
25762
|
+
def all(self, value: Optional[_builtins.bool]):
|
|
25763
|
+
pulumi.set(self, "all", value)
|
|
25764
|
+
|
|
25765
|
+
@_builtins.property
|
|
25766
|
+
@pulumi.getter(name="matchBy")
|
|
25767
|
+
def match_by(self) -> Optional[_builtins.str]:
|
|
25768
|
+
return pulumi.get(self, "match_by")
|
|
25769
|
+
|
|
25770
|
+
@match_by.setter
|
|
25771
|
+
def match_by(self, value: Optional[_builtins.str]):
|
|
25772
|
+
pulumi.set(self, "match_by", value)
|
|
25773
|
+
|
|
25774
|
+
|
|
25775
|
+
if not MYPY:
|
|
25776
|
+
class GetGenaiModelsSortArgsDict(TypedDict):
|
|
25777
|
+
key: _builtins.str
|
|
25778
|
+
direction: NotRequired[_builtins.str]
|
|
25779
|
+
elif False:
|
|
25780
|
+
GetGenaiModelsSortArgsDict: TypeAlias = Mapping[str, Any]
|
|
25781
|
+
|
|
25782
|
+
@pulumi.input_type
|
|
25783
|
+
class GetGenaiModelsSortArgs:
|
|
25784
|
+
def __init__(__self__, *,
|
|
25785
|
+
key: _builtins.str,
|
|
25786
|
+
direction: Optional[_builtins.str] = None):
|
|
25787
|
+
pulumi.set(__self__, "key", key)
|
|
25788
|
+
if direction is not None:
|
|
25789
|
+
pulumi.set(__self__, "direction", direction)
|
|
25790
|
+
|
|
25791
|
+
@_builtins.property
|
|
25792
|
+
@pulumi.getter
|
|
25793
|
+
def key(self) -> _builtins.str:
|
|
25794
|
+
return pulumi.get(self, "key")
|
|
25795
|
+
|
|
25796
|
+
@key.setter
|
|
25797
|
+
def key(self, value: _builtins.str):
|
|
25798
|
+
pulumi.set(self, "key", value)
|
|
25799
|
+
|
|
25800
|
+
@_builtins.property
|
|
25801
|
+
@pulumi.getter
|
|
25802
|
+
def direction(self) -> Optional[_builtins.str]:
|
|
25803
|
+
return pulumi.get(self, "direction")
|
|
25804
|
+
|
|
25805
|
+
@direction.setter
|
|
25806
|
+
def direction(self, value: Optional[_builtins.str]):
|
|
25807
|
+
pulumi.set(self, "direction", value)
|
|
25808
|
+
|
|
25809
|
+
|
|
25707
25810
|
if not MYPY:
|
|
25708
25811
|
class GetGenaiOpenaiApiKeysFilterArgsDict(TypedDict):
|
|
25709
25812
|
key: _builtins.str
|
|
@@ -25799,6 +25902,101 @@ class GetGenaiOpenaiApiKeysSortArgs:
|
|
|
25799
25902
|
pulumi.set(self, "direction", value)
|
|
25800
25903
|
|
|
25801
25904
|
|
|
25905
|
+
if not MYPY:
|
|
25906
|
+
class GetGenaiRegionsFilterArgsDict(TypedDict):
|
|
25907
|
+
key: _builtins.str
|
|
25908
|
+
values: Sequence[_builtins.str]
|
|
25909
|
+
all: NotRequired[_builtins.bool]
|
|
25910
|
+
match_by: NotRequired[_builtins.str]
|
|
25911
|
+
elif False:
|
|
25912
|
+
GetGenaiRegionsFilterArgsDict: TypeAlias = Mapping[str, Any]
|
|
25913
|
+
|
|
25914
|
+
@pulumi.input_type
|
|
25915
|
+
class GetGenaiRegionsFilterArgs:
|
|
25916
|
+
def __init__(__self__, *,
|
|
25917
|
+
key: _builtins.str,
|
|
25918
|
+
values: Sequence[_builtins.str],
|
|
25919
|
+
all: Optional[_builtins.bool] = None,
|
|
25920
|
+
match_by: Optional[_builtins.str] = None):
|
|
25921
|
+
pulumi.set(__self__, "key", key)
|
|
25922
|
+
pulumi.set(__self__, "values", values)
|
|
25923
|
+
if all is not None:
|
|
25924
|
+
pulumi.set(__self__, "all", all)
|
|
25925
|
+
if match_by is not None:
|
|
25926
|
+
pulumi.set(__self__, "match_by", match_by)
|
|
25927
|
+
|
|
25928
|
+
@_builtins.property
|
|
25929
|
+
@pulumi.getter
|
|
25930
|
+
def key(self) -> _builtins.str:
|
|
25931
|
+
return pulumi.get(self, "key")
|
|
25932
|
+
|
|
25933
|
+
@key.setter
|
|
25934
|
+
def key(self, value: _builtins.str):
|
|
25935
|
+
pulumi.set(self, "key", value)
|
|
25936
|
+
|
|
25937
|
+
@_builtins.property
|
|
25938
|
+
@pulumi.getter
|
|
25939
|
+
def values(self) -> Sequence[_builtins.str]:
|
|
25940
|
+
return pulumi.get(self, "values")
|
|
25941
|
+
|
|
25942
|
+
@values.setter
|
|
25943
|
+
def values(self, value: Sequence[_builtins.str]):
|
|
25944
|
+
pulumi.set(self, "values", value)
|
|
25945
|
+
|
|
25946
|
+
@_builtins.property
|
|
25947
|
+
@pulumi.getter
|
|
25948
|
+
def all(self) -> Optional[_builtins.bool]:
|
|
25949
|
+
return pulumi.get(self, "all")
|
|
25950
|
+
|
|
25951
|
+
@all.setter
|
|
25952
|
+
def all(self, value: Optional[_builtins.bool]):
|
|
25953
|
+
pulumi.set(self, "all", value)
|
|
25954
|
+
|
|
25955
|
+
@_builtins.property
|
|
25956
|
+
@pulumi.getter(name="matchBy")
|
|
25957
|
+
def match_by(self) -> Optional[_builtins.str]:
|
|
25958
|
+
return pulumi.get(self, "match_by")
|
|
25959
|
+
|
|
25960
|
+
@match_by.setter
|
|
25961
|
+
def match_by(self, value: Optional[_builtins.str]):
|
|
25962
|
+
pulumi.set(self, "match_by", value)
|
|
25963
|
+
|
|
25964
|
+
|
|
25965
|
+
if not MYPY:
|
|
25966
|
+
class GetGenaiRegionsSortArgsDict(TypedDict):
|
|
25967
|
+
key: _builtins.str
|
|
25968
|
+
direction: NotRequired[_builtins.str]
|
|
25969
|
+
elif False:
|
|
25970
|
+
GetGenaiRegionsSortArgsDict: TypeAlias = Mapping[str, Any]
|
|
25971
|
+
|
|
25972
|
+
@pulumi.input_type
|
|
25973
|
+
class GetGenaiRegionsSortArgs:
|
|
25974
|
+
def __init__(__self__, *,
|
|
25975
|
+
key: _builtins.str,
|
|
25976
|
+
direction: Optional[_builtins.str] = None):
|
|
25977
|
+
pulumi.set(__self__, "key", key)
|
|
25978
|
+
if direction is not None:
|
|
25979
|
+
pulumi.set(__self__, "direction", direction)
|
|
25980
|
+
|
|
25981
|
+
@_builtins.property
|
|
25982
|
+
@pulumi.getter
|
|
25983
|
+
def key(self) -> _builtins.str:
|
|
25984
|
+
return pulumi.get(self, "key")
|
|
25985
|
+
|
|
25986
|
+
@key.setter
|
|
25987
|
+
def key(self, value: _builtins.str):
|
|
25988
|
+
pulumi.set(self, "key", value)
|
|
25989
|
+
|
|
25990
|
+
@_builtins.property
|
|
25991
|
+
@pulumi.getter
|
|
25992
|
+
def direction(self) -> Optional[_builtins.str]:
|
|
25993
|
+
return pulumi.get(self, "direction")
|
|
25994
|
+
|
|
25995
|
+
@direction.setter
|
|
25996
|
+
def direction(self, value: Optional[_builtins.str]):
|
|
25997
|
+
pulumi.set(self, "direction", value)
|
|
25998
|
+
|
|
25999
|
+
|
|
25802
26000
|
if not MYPY:
|
|
25803
26001
|
class GetImagesFilterArgsDict(TypedDict):
|
|
25804
26002
|
key: _builtins.str
|
|
@@ -0,0 +1,113 @@
|
|
|
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
|
+
'GetGenaiModelsResult',
|
|
21
|
+
'AwaitableGetGenaiModelsResult',
|
|
22
|
+
'get_genai_models',
|
|
23
|
+
'get_genai_models_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetGenaiModelsResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getGenaiModels.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, filters=None, id=None, models=None, sorts=None):
|
|
32
|
+
if filters and not isinstance(filters, list):
|
|
33
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
|
34
|
+
pulumi.set(__self__, "filters", filters)
|
|
35
|
+
if id and not isinstance(id, str):
|
|
36
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
37
|
+
pulumi.set(__self__, "id", id)
|
|
38
|
+
if models and not isinstance(models, list):
|
|
39
|
+
raise TypeError("Expected argument 'models' to be a list")
|
|
40
|
+
pulumi.set(__self__, "models", models)
|
|
41
|
+
if sorts and not isinstance(sorts, list):
|
|
42
|
+
raise TypeError("Expected argument 'sorts' to be a list")
|
|
43
|
+
pulumi.set(__self__, "sorts", sorts)
|
|
44
|
+
|
|
45
|
+
@_builtins.property
|
|
46
|
+
@pulumi.getter
|
|
47
|
+
def filters(self) -> Optional[Sequence['outputs.GetGenaiModelsFilterResult']]:
|
|
48
|
+
return pulumi.get(self, "filters")
|
|
49
|
+
|
|
50
|
+
@_builtins.property
|
|
51
|
+
@pulumi.getter
|
|
52
|
+
def id(self) -> _builtins.str:
|
|
53
|
+
"""
|
|
54
|
+
The provider-assigned unique ID for this managed resource.
|
|
55
|
+
"""
|
|
56
|
+
return pulumi.get(self, "id")
|
|
57
|
+
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter
|
|
60
|
+
def models(self) -> Sequence['outputs.GetGenaiModelsModelResult']:
|
|
61
|
+
return pulumi.get(self, "models")
|
|
62
|
+
|
|
63
|
+
@_builtins.property
|
|
64
|
+
@pulumi.getter
|
|
65
|
+
def sorts(self) -> Optional[Sequence['outputs.GetGenaiModelsSortResult']]:
|
|
66
|
+
return pulumi.get(self, "sorts")
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
class AwaitableGetGenaiModelsResult(GetGenaiModelsResult):
|
|
70
|
+
# pylint: disable=using-constant-test
|
|
71
|
+
def __await__(self):
|
|
72
|
+
if False:
|
|
73
|
+
yield self
|
|
74
|
+
return GetGenaiModelsResult(
|
|
75
|
+
filters=self.filters,
|
|
76
|
+
id=self.id,
|
|
77
|
+
models=self.models,
|
|
78
|
+
sorts=self.sorts)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
def get_genai_models(filters: Optional[Sequence[Union['GetGenaiModelsFilterArgs', 'GetGenaiModelsFilterArgsDict']]] = None,
|
|
82
|
+
sorts: Optional[Sequence[Union['GetGenaiModelsSortArgs', 'GetGenaiModelsSortArgsDict']]] = None,
|
|
83
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGenaiModelsResult:
|
|
84
|
+
"""
|
|
85
|
+
Use this data source to access information about an existing resource.
|
|
86
|
+
"""
|
|
87
|
+
__args__ = dict()
|
|
88
|
+
__args__['filters'] = filters
|
|
89
|
+
__args__['sorts'] = sorts
|
|
90
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
91
|
+
__ret__ = pulumi.runtime.invoke('digitalocean:index/getGenaiModels:getGenaiModels', __args__, opts=opts, typ=GetGenaiModelsResult).value
|
|
92
|
+
|
|
93
|
+
return AwaitableGetGenaiModelsResult(
|
|
94
|
+
filters=pulumi.get(__ret__, 'filters'),
|
|
95
|
+
id=pulumi.get(__ret__, 'id'),
|
|
96
|
+
models=pulumi.get(__ret__, 'models'),
|
|
97
|
+
sorts=pulumi.get(__ret__, 'sorts'))
|
|
98
|
+
def get_genai_models_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetGenaiModelsFilterArgs', 'GetGenaiModelsFilterArgsDict']]]]] = None,
|
|
99
|
+
sorts: Optional[pulumi.Input[Optional[Sequence[Union['GetGenaiModelsSortArgs', 'GetGenaiModelsSortArgsDict']]]]] = None,
|
|
100
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGenaiModelsResult]:
|
|
101
|
+
"""
|
|
102
|
+
Use this data source to access information about an existing resource.
|
|
103
|
+
"""
|
|
104
|
+
__args__ = dict()
|
|
105
|
+
__args__['filters'] = filters
|
|
106
|
+
__args__['sorts'] = sorts
|
|
107
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
108
|
+
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getGenaiModels:getGenaiModels', __args__, opts=opts, typ=GetGenaiModelsResult)
|
|
109
|
+
return __ret__.apply(lambda __response__: GetGenaiModelsResult(
|
|
110
|
+
filters=pulumi.get(__response__, 'filters'),
|
|
111
|
+
id=pulumi.get(__response__, 'id'),
|
|
112
|
+
models=pulumi.get(__response__, 'models'),
|
|
113
|
+
sorts=pulumi.get(__response__, 'sorts')))
|
|
@@ -0,0 +1,113 @@
|
|
|
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
|
+
'GetGenaiRegionsResult',
|
|
21
|
+
'AwaitableGetGenaiRegionsResult',
|
|
22
|
+
'get_genai_regions',
|
|
23
|
+
'get_genai_regions_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetGenaiRegionsResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getGenaiRegions.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, filters=None, id=None, regions=None, sorts=None):
|
|
32
|
+
if filters and not isinstance(filters, list):
|
|
33
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
|
34
|
+
pulumi.set(__self__, "filters", filters)
|
|
35
|
+
if id and not isinstance(id, str):
|
|
36
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
37
|
+
pulumi.set(__self__, "id", id)
|
|
38
|
+
if regions and not isinstance(regions, list):
|
|
39
|
+
raise TypeError("Expected argument 'regions' to be a list")
|
|
40
|
+
pulumi.set(__self__, "regions", regions)
|
|
41
|
+
if sorts and not isinstance(sorts, list):
|
|
42
|
+
raise TypeError("Expected argument 'sorts' to be a list")
|
|
43
|
+
pulumi.set(__self__, "sorts", sorts)
|
|
44
|
+
|
|
45
|
+
@_builtins.property
|
|
46
|
+
@pulumi.getter
|
|
47
|
+
def filters(self) -> Optional[Sequence['outputs.GetGenaiRegionsFilterResult']]:
|
|
48
|
+
return pulumi.get(self, "filters")
|
|
49
|
+
|
|
50
|
+
@_builtins.property
|
|
51
|
+
@pulumi.getter
|
|
52
|
+
def id(self) -> _builtins.str:
|
|
53
|
+
"""
|
|
54
|
+
The provider-assigned unique ID for this managed resource.
|
|
55
|
+
"""
|
|
56
|
+
return pulumi.get(self, "id")
|
|
57
|
+
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter
|
|
60
|
+
def regions(self) -> Sequence['outputs.GetGenaiRegionsRegionResult']:
|
|
61
|
+
return pulumi.get(self, "regions")
|
|
62
|
+
|
|
63
|
+
@_builtins.property
|
|
64
|
+
@pulumi.getter
|
|
65
|
+
def sorts(self) -> Optional[Sequence['outputs.GetGenaiRegionsSortResult']]:
|
|
66
|
+
return pulumi.get(self, "sorts")
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
class AwaitableGetGenaiRegionsResult(GetGenaiRegionsResult):
|
|
70
|
+
# pylint: disable=using-constant-test
|
|
71
|
+
def __await__(self):
|
|
72
|
+
if False:
|
|
73
|
+
yield self
|
|
74
|
+
return GetGenaiRegionsResult(
|
|
75
|
+
filters=self.filters,
|
|
76
|
+
id=self.id,
|
|
77
|
+
regions=self.regions,
|
|
78
|
+
sorts=self.sorts)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
def get_genai_regions(filters: Optional[Sequence[Union['GetGenaiRegionsFilterArgs', 'GetGenaiRegionsFilterArgsDict']]] = None,
|
|
82
|
+
sorts: Optional[Sequence[Union['GetGenaiRegionsSortArgs', 'GetGenaiRegionsSortArgsDict']]] = None,
|
|
83
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGenaiRegionsResult:
|
|
84
|
+
"""
|
|
85
|
+
Use this data source to access information about an existing resource.
|
|
86
|
+
"""
|
|
87
|
+
__args__ = dict()
|
|
88
|
+
__args__['filters'] = filters
|
|
89
|
+
__args__['sorts'] = sorts
|
|
90
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
91
|
+
__ret__ = pulumi.runtime.invoke('digitalocean:index/getGenaiRegions:getGenaiRegions', __args__, opts=opts, typ=GetGenaiRegionsResult).value
|
|
92
|
+
|
|
93
|
+
return AwaitableGetGenaiRegionsResult(
|
|
94
|
+
filters=pulumi.get(__ret__, 'filters'),
|
|
95
|
+
id=pulumi.get(__ret__, 'id'),
|
|
96
|
+
regions=pulumi.get(__ret__, 'regions'),
|
|
97
|
+
sorts=pulumi.get(__ret__, 'sorts'))
|
|
98
|
+
def get_genai_regions_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetGenaiRegionsFilterArgs', 'GetGenaiRegionsFilterArgsDict']]]]] = None,
|
|
99
|
+
sorts: Optional[pulumi.Input[Optional[Sequence[Union['GetGenaiRegionsSortArgs', 'GetGenaiRegionsSortArgsDict']]]]] = None,
|
|
100
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGenaiRegionsResult]:
|
|
101
|
+
"""
|
|
102
|
+
Use this data source to access information about an existing resource.
|
|
103
|
+
"""
|
|
104
|
+
__args__ = dict()
|
|
105
|
+
__args__['filters'] = filters
|
|
106
|
+
__args__['sorts'] = sorts
|
|
107
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
108
|
+
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getGenaiRegions:getGenaiRegions', __args__, opts=opts, typ=GetGenaiRegionsResult)
|
|
109
|
+
return __ret__.apply(lambda __response__: GetGenaiRegionsResult(
|
|
110
|
+
filters=pulumi.get(__response__, 'filters'),
|
|
111
|
+
id=pulumi.get(__response__, 'id'),
|
|
112
|
+
regions=pulumi.get(__response__, 'regions'),
|
|
113
|
+
sorts=pulumi.get(__response__, 'sorts')))
|
pulumi_digitalocean/outputs.py
CHANGED
|
@@ -472,6 +472,11 @@ __all__ = [
|
|
|
472
472
|
'GetGenaiKnowledgeBasesKnowledgeBaseResult',
|
|
473
473
|
'GetGenaiKnowledgeBasesKnowledgeBaseLastIndexingJobResult',
|
|
474
474
|
'GetGenaiKnowledgeBasesSortResult',
|
|
475
|
+
'GetGenaiModelsFilterResult',
|
|
476
|
+
'GetGenaiModelsModelResult',
|
|
477
|
+
'GetGenaiModelsModelAgreementResult',
|
|
478
|
+
'GetGenaiModelsModelVersionResult',
|
|
479
|
+
'GetGenaiModelsSortResult',
|
|
475
480
|
'GetGenaiOpenaiApiKeyModelResult',
|
|
476
481
|
'GetGenaiOpenaiApiKeyModelAgreementResult',
|
|
477
482
|
'GetGenaiOpenaiApiKeyModelVersionResult',
|
|
@@ -481,6 +486,9 @@ __all__ = [
|
|
|
481
486
|
'GetGenaiOpenaiApiKeysOpenaiApiKeyModelAgreementResult',
|
|
482
487
|
'GetGenaiOpenaiApiKeysOpenaiApiKeyModelVersionResult',
|
|
483
488
|
'GetGenaiOpenaiApiKeysSortResult',
|
|
489
|
+
'GetGenaiRegionsFilterResult',
|
|
490
|
+
'GetGenaiRegionsRegionResult',
|
|
491
|
+
'GetGenaiRegionsSortResult',
|
|
484
492
|
'GetImagesFilterResult',
|
|
485
493
|
'GetImagesImageResult',
|
|
486
494
|
'GetImagesSortResult',
|
|
@@ -33313,6 +33321,284 @@ class GetGenaiKnowledgeBasesSortResult(dict):
|
|
|
33313
33321
|
return pulumi.get(self, "direction")
|
|
33314
33322
|
|
|
33315
33323
|
|
|
33324
|
+
@pulumi.output_type
|
|
33325
|
+
class GetGenaiModelsFilterResult(dict):
|
|
33326
|
+
def __init__(__self__, *,
|
|
33327
|
+
key: _builtins.str,
|
|
33328
|
+
values: Sequence[_builtins.str],
|
|
33329
|
+
all: Optional[_builtins.bool] = None,
|
|
33330
|
+
match_by: Optional[_builtins.str] = None):
|
|
33331
|
+
pulumi.set(__self__, "key", key)
|
|
33332
|
+
pulumi.set(__self__, "values", values)
|
|
33333
|
+
if all is not None:
|
|
33334
|
+
pulumi.set(__self__, "all", all)
|
|
33335
|
+
if match_by is not None:
|
|
33336
|
+
pulumi.set(__self__, "match_by", match_by)
|
|
33337
|
+
|
|
33338
|
+
@_builtins.property
|
|
33339
|
+
@pulumi.getter
|
|
33340
|
+
def key(self) -> _builtins.str:
|
|
33341
|
+
return pulumi.get(self, "key")
|
|
33342
|
+
|
|
33343
|
+
@_builtins.property
|
|
33344
|
+
@pulumi.getter
|
|
33345
|
+
def values(self) -> Sequence[_builtins.str]:
|
|
33346
|
+
return pulumi.get(self, "values")
|
|
33347
|
+
|
|
33348
|
+
@_builtins.property
|
|
33349
|
+
@pulumi.getter
|
|
33350
|
+
def all(self) -> Optional[_builtins.bool]:
|
|
33351
|
+
return pulumi.get(self, "all")
|
|
33352
|
+
|
|
33353
|
+
@_builtins.property
|
|
33354
|
+
@pulumi.getter(name="matchBy")
|
|
33355
|
+
def match_by(self) -> Optional[_builtins.str]:
|
|
33356
|
+
return pulumi.get(self, "match_by")
|
|
33357
|
+
|
|
33358
|
+
|
|
33359
|
+
@pulumi.output_type
|
|
33360
|
+
class GetGenaiModelsModelResult(dict):
|
|
33361
|
+
def __init__(__self__, *,
|
|
33362
|
+
agreements: Sequence['outputs.GetGenaiModelsModelAgreementResult'],
|
|
33363
|
+
created_at: _builtins.str,
|
|
33364
|
+
id: _builtins.str,
|
|
33365
|
+
is_foundational: _builtins.bool,
|
|
33366
|
+
name: _builtins.str,
|
|
33367
|
+
parent_uuid: _builtins.str,
|
|
33368
|
+
updated_at: _builtins.str,
|
|
33369
|
+
upload_complete: _builtins.bool,
|
|
33370
|
+
url: _builtins.str,
|
|
33371
|
+
uuid: _builtins.str,
|
|
33372
|
+
versions: Sequence['outputs.GetGenaiModelsModelVersionResult']):
|
|
33373
|
+
"""
|
|
33374
|
+
:param Sequence['GetGenaiModelsModelAgreementArgs'] agreements: Agreement information for the model
|
|
33375
|
+
:param _builtins.str created_at: Created At timestamp for the Knowledge Base
|
|
33376
|
+
:param _builtins.str id: ID of the Knowledge Base
|
|
33377
|
+
:param _builtins.bool is_foundational: Indicates if the Model Base is foundational
|
|
33378
|
+
:param _builtins.str name: Name of the Knowledge Base
|
|
33379
|
+
:param _builtins.str parent_uuid: Parent UUID of the Model
|
|
33380
|
+
:param _builtins.str updated_at: Timestamp when the Knowledge Base was updated
|
|
33381
|
+
:param _builtins.bool upload_complete: Indicates if the Model upload is complete
|
|
33382
|
+
:param _builtins.str url: URL of the Model
|
|
33383
|
+
:param _builtins.str uuid: UUID of the Model
|
|
33384
|
+
:param Sequence['GetGenaiModelsModelVersionArgs'] versions: List of Versions for the Model
|
|
33385
|
+
"""
|
|
33386
|
+
pulumi.set(__self__, "agreements", agreements)
|
|
33387
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
33388
|
+
pulumi.set(__self__, "id", id)
|
|
33389
|
+
pulumi.set(__self__, "is_foundational", is_foundational)
|
|
33390
|
+
pulumi.set(__self__, "name", name)
|
|
33391
|
+
pulumi.set(__self__, "parent_uuid", parent_uuid)
|
|
33392
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
|
33393
|
+
pulumi.set(__self__, "upload_complete", upload_complete)
|
|
33394
|
+
pulumi.set(__self__, "url", url)
|
|
33395
|
+
pulumi.set(__self__, "uuid", uuid)
|
|
33396
|
+
pulumi.set(__self__, "versions", versions)
|
|
33397
|
+
|
|
33398
|
+
@_builtins.property
|
|
33399
|
+
@pulumi.getter
|
|
33400
|
+
def agreements(self) -> Sequence['outputs.GetGenaiModelsModelAgreementResult']:
|
|
33401
|
+
"""
|
|
33402
|
+
Agreement information for the model
|
|
33403
|
+
"""
|
|
33404
|
+
return pulumi.get(self, "agreements")
|
|
33405
|
+
|
|
33406
|
+
@_builtins.property
|
|
33407
|
+
@pulumi.getter(name="createdAt")
|
|
33408
|
+
def created_at(self) -> _builtins.str:
|
|
33409
|
+
"""
|
|
33410
|
+
Created At timestamp for the Knowledge Base
|
|
33411
|
+
"""
|
|
33412
|
+
return pulumi.get(self, "created_at")
|
|
33413
|
+
|
|
33414
|
+
@_builtins.property
|
|
33415
|
+
@pulumi.getter
|
|
33416
|
+
def id(self) -> _builtins.str:
|
|
33417
|
+
"""
|
|
33418
|
+
ID of the Knowledge Base
|
|
33419
|
+
"""
|
|
33420
|
+
return pulumi.get(self, "id")
|
|
33421
|
+
|
|
33422
|
+
@_builtins.property
|
|
33423
|
+
@pulumi.getter(name="isFoundational")
|
|
33424
|
+
def is_foundational(self) -> _builtins.bool:
|
|
33425
|
+
"""
|
|
33426
|
+
Indicates if the Model Base is foundational
|
|
33427
|
+
"""
|
|
33428
|
+
return pulumi.get(self, "is_foundational")
|
|
33429
|
+
|
|
33430
|
+
@_builtins.property
|
|
33431
|
+
@pulumi.getter
|
|
33432
|
+
def name(self) -> _builtins.str:
|
|
33433
|
+
"""
|
|
33434
|
+
Name of the Knowledge Base
|
|
33435
|
+
"""
|
|
33436
|
+
return pulumi.get(self, "name")
|
|
33437
|
+
|
|
33438
|
+
@_builtins.property
|
|
33439
|
+
@pulumi.getter(name="parentUuid")
|
|
33440
|
+
def parent_uuid(self) -> _builtins.str:
|
|
33441
|
+
"""
|
|
33442
|
+
Parent UUID of the Model
|
|
33443
|
+
"""
|
|
33444
|
+
return pulumi.get(self, "parent_uuid")
|
|
33445
|
+
|
|
33446
|
+
@_builtins.property
|
|
33447
|
+
@pulumi.getter(name="updatedAt")
|
|
33448
|
+
def updated_at(self) -> _builtins.str:
|
|
33449
|
+
"""
|
|
33450
|
+
Timestamp when the Knowledge Base was updated
|
|
33451
|
+
"""
|
|
33452
|
+
return pulumi.get(self, "updated_at")
|
|
33453
|
+
|
|
33454
|
+
@_builtins.property
|
|
33455
|
+
@pulumi.getter(name="uploadComplete")
|
|
33456
|
+
def upload_complete(self) -> _builtins.bool:
|
|
33457
|
+
"""
|
|
33458
|
+
Indicates if the Model upload is complete
|
|
33459
|
+
"""
|
|
33460
|
+
return pulumi.get(self, "upload_complete")
|
|
33461
|
+
|
|
33462
|
+
@_builtins.property
|
|
33463
|
+
@pulumi.getter
|
|
33464
|
+
def url(self) -> _builtins.str:
|
|
33465
|
+
"""
|
|
33466
|
+
URL of the Model
|
|
33467
|
+
"""
|
|
33468
|
+
return pulumi.get(self, "url")
|
|
33469
|
+
|
|
33470
|
+
@_builtins.property
|
|
33471
|
+
@pulumi.getter
|
|
33472
|
+
def uuid(self) -> _builtins.str:
|
|
33473
|
+
"""
|
|
33474
|
+
UUID of the Model
|
|
33475
|
+
"""
|
|
33476
|
+
return pulumi.get(self, "uuid")
|
|
33477
|
+
|
|
33478
|
+
@_builtins.property
|
|
33479
|
+
@pulumi.getter
|
|
33480
|
+
def versions(self) -> Sequence['outputs.GetGenaiModelsModelVersionResult']:
|
|
33481
|
+
"""
|
|
33482
|
+
List of Versions for the Model
|
|
33483
|
+
"""
|
|
33484
|
+
return pulumi.get(self, "versions")
|
|
33485
|
+
|
|
33486
|
+
|
|
33487
|
+
@pulumi.output_type
|
|
33488
|
+
class GetGenaiModelsModelAgreementResult(dict):
|
|
33489
|
+
def __init__(__self__, *,
|
|
33490
|
+
description: Optional[_builtins.str] = None,
|
|
33491
|
+
name: Optional[_builtins.str] = None,
|
|
33492
|
+
url: Optional[_builtins.str] = None,
|
|
33493
|
+
uuid: Optional[_builtins.str] = None):
|
|
33494
|
+
"""
|
|
33495
|
+
:param _builtins.str description: Description of the agreement
|
|
33496
|
+
:param _builtins.str name: Name of the agreement
|
|
33497
|
+
:param _builtins.str url: URL of the agreement
|
|
33498
|
+
:param _builtins.str uuid: UUID of the agreement
|
|
33499
|
+
"""
|
|
33500
|
+
if description is not None:
|
|
33501
|
+
pulumi.set(__self__, "description", description)
|
|
33502
|
+
if name is not None:
|
|
33503
|
+
pulumi.set(__self__, "name", name)
|
|
33504
|
+
if url is not None:
|
|
33505
|
+
pulumi.set(__self__, "url", url)
|
|
33506
|
+
if uuid is not None:
|
|
33507
|
+
pulumi.set(__self__, "uuid", uuid)
|
|
33508
|
+
|
|
33509
|
+
@_builtins.property
|
|
33510
|
+
@pulumi.getter
|
|
33511
|
+
def description(self) -> Optional[_builtins.str]:
|
|
33512
|
+
"""
|
|
33513
|
+
Description of the agreement
|
|
33514
|
+
"""
|
|
33515
|
+
return pulumi.get(self, "description")
|
|
33516
|
+
|
|
33517
|
+
@_builtins.property
|
|
33518
|
+
@pulumi.getter
|
|
33519
|
+
def name(self) -> Optional[_builtins.str]:
|
|
33520
|
+
"""
|
|
33521
|
+
Name of the agreement
|
|
33522
|
+
"""
|
|
33523
|
+
return pulumi.get(self, "name")
|
|
33524
|
+
|
|
33525
|
+
@_builtins.property
|
|
33526
|
+
@pulumi.getter
|
|
33527
|
+
def url(self) -> Optional[_builtins.str]:
|
|
33528
|
+
"""
|
|
33529
|
+
URL of the agreement
|
|
33530
|
+
"""
|
|
33531
|
+
return pulumi.get(self, "url")
|
|
33532
|
+
|
|
33533
|
+
@_builtins.property
|
|
33534
|
+
@pulumi.getter
|
|
33535
|
+
def uuid(self) -> Optional[_builtins.str]:
|
|
33536
|
+
"""
|
|
33537
|
+
UUID of the agreement
|
|
33538
|
+
"""
|
|
33539
|
+
return pulumi.get(self, "uuid")
|
|
33540
|
+
|
|
33541
|
+
|
|
33542
|
+
@pulumi.output_type
|
|
33543
|
+
class GetGenaiModelsModelVersionResult(dict):
|
|
33544
|
+
def __init__(__self__, *,
|
|
33545
|
+
major: _builtins.int,
|
|
33546
|
+
minor: _builtins.int,
|
|
33547
|
+
patch: _builtins.int):
|
|
33548
|
+
"""
|
|
33549
|
+
:param _builtins.int major: Major version of the model
|
|
33550
|
+
:param _builtins.int minor: Minor version of the model
|
|
33551
|
+
:param _builtins.int patch: Patch version of the model
|
|
33552
|
+
"""
|
|
33553
|
+
pulumi.set(__self__, "major", major)
|
|
33554
|
+
pulumi.set(__self__, "minor", minor)
|
|
33555
|
+
pulumi.set(__self__, "patch", patch)
|
|
33556
|
+
|
|
33557
|
+
@_builtins.property
|
|
33558
|
+
@pulumi.getter
|
|
33559
|
+
def major(self) -> _builtins.int:
|
|
33560
|
+
"""
|
|
33561
|
+
Major version of the model
|
|
33562
|
+
"""
|
|
33563
|
+
return pulumi.get(self, "major")
|
|
33564
|
+
|
|
33565
|
+
@_builtins.property
|
|
33566
|
+
@pulumi.getter
|
|
33567
|
+
def minor(self) -> _builtins.int:
|
|
33568
|
+
"""
|
|
33569
|
+
Minor version of the model
|
|
33570
|
+
"""
|
|
33571
|
+
return pulumi.get(self, "minor")
|
|
33572
|
+
|
|
33573
|
+
@_builtins.property
|
|
33574
|
+
@pulumi.getter
|
|
33575
|
+
def patch(self) -> _builtins.int:
|
|
33576
|
+
"""
|
|
33577
|
+
Patch version of the model
|
|
33578
|
+
"""
|
|
33579
|
+
return pulumi.get(self, "patch")
|
|
33580
|
+
|
|
33581
|
+
|
|
33582
|
+
@pulumi.output_type
|
|
33583
|
+
class GetGenaiModelsSortResult(dict):
|
|
33584
|
+
def __init__(__self__, *,
|
|
33585
|
+
key: _builtins.str,
|
|
33586
|
+
direction: Optional[_builtins.str] = None):
|
|
33587
|
+
pulumi.set(__self__, "key", key)
|
|
33588
|
+
if direction is not None:
|
|
33589
|
+
pulumi.set(__self__, "direction", direction)
|
|
33590
|
+
|
|
33591
|
+
@_builtins.property
|
|
33592
|
+
@pulumi.getter
|
|
33593
|
+
def key(self) -> _builtins.str:
|
|
33594
|
+
return pulumi.get(self, "key")
|
|
33595
|
+
|
|
33596
|
+
@_builtins.property
|
|
33597
|
+
@pulumi.getter
|
|
33598
|
+
def direction(self) -> Optional[_builtins.str]:
|
|
33599
|
+
return pulumi.get(self, "direction")
|
|
33600
|
+
|
|
33601
|
+
|
|
33316
33602
|
@pulumi.output_type
|
|
33317
33603
|
class GetGenaiOpenaiApiKeyModelResult(dict):
|
|
33318
33604
|
def __init__(__self__, *,
|
|
@@ -33970,6 +34256,123 @@ class GetGenaiOpenaiApiKeysSortResult(dict):
|
|
|
33970
34256
|
return pulumi.get(self, "direction")
|
|
33971
34257
|
|
|
33972
34258
|
|
|
34259
|
+
@pulumi.output_type
|
|
34260
|
+
class GetGenaiRegionsFilterResult(dict):
|
|
34261
|
+
def __init__(__self__, *,
|
|
34262
|
+
key: _builtins.str,
|
|
34263
|
+
values: Sequence[_builtins.str],
|
|
34264
|
+
all: Optional[_builtins.bool] = None,
|
|
34265
|
+
match_by: Optional[_builtins.str] = None):
|
|
34266
|
+
pulumi.set(__self__, "key", key)
|
|
34267
|
+
pulumi.set(__self__, "values", values)
|
|
34268
|
+
if all is not None:
|
|
34269
|
+
pulumi.set(__self__, "all", all)
|
|
34270
|
+
if match_by is not None:
|
|
34271
|
+
pulumi.set(__self__, "match_by", match_by)
|
|
34272
|
+
|
|
34273
|
+
@_builtins.property
|
|
34274
|
+
@pulumi.getter
|
|
34275
|
+
def key(self) -> _builtins.str:
|
|
34276
|
+
return pulumi.get(self, "key")
|
|
34277
|
+
|
|
34278
|
+
@_builtins.property
|
|
34279
|
+
@pulumi.getter
|
|
34280
|
+
def values(self) -> Sequence[_builtins.str]:
|
|
34281
|
+
return pulumi.get(self, "values")
|
|
34282
|
+
|
|
34283
|
+
@_builtins.property
|
|
34284
|
+
@pulumi.getter
|
|
34285
|
+
def all(self) -> Optional[_builtins.bool]:
|
|
34286
|
+
return pulumi.get(self, "all")
|
|
34287
|
+
|
|
34288
|
+
@_builtins.property
|
|
34289
|
+
@pulumi.getter(name="matchBy")
|
|
34290
|
+
def match_by(self) -> Optional[_builtins.str]:
|
|
34291
|
+
return pulumi.get(self, "match_by")
|
|
34292
|
+
|
|
34293
|
+
|
|
34294
|
+
@pulumi.output_type
|
|
34295
|
+
class GetGenaiRegionsRegionResult(dict):
|
|
34296
|
+
def __init__(__self__, *,
|
|
34297
|
+
inference_url: _builtins.str,
|
|
34298
|
+
region: _builtins.str,
|
|
34299
|
+
serves_batch: _builtins.bool,
|
|
34300
|
+
serves_inference: _builtins.bool,
|
|
34301
|
+
stream_inference_url: _builtins.str):
|
|
34302
|
+
"""
|
|
34303
|
+
:param _builtins.str inference_url: Inference URL for the model
|
|
34304
|
+
:param _builtins.str region: Region where the model is deployed
|
|
34305
|
+
:param _builtins.bool serves_batch: Indicates if the model serves batch requests
|
|
34306
|
+
:param _builtins.bool serves_inference: Indicates if the model serves inference requests
|
|
34307
|
+
:param _builtins.str stream_inference_url: Streaming inference URL for the model
|
|
34308
|
+
"""
|
|
34309
|
+
pulumi.set(__self__, "inference_url", inference_url)
|
|
34310
|
+
pulumi.set(__self__, "region", region)
|
|
34311
|
+
pulumi.set(__self__, "serves_batch", serves_batch)
|
|
34312
|
+
pulumi.set(__self__, "serves_inference", serves_inference)
|
|
34313
|
+
pulumi.set(__self__, "stream_inference_url", stream_inference_url)
|
|
34314
|
+
|
|
34315
|
+
@_builtins.property
|
|
34316
|
+
@pulumi.getter(name="inferenceUrl")
|
|
34317
|
+
def inference_url(self) -> _builtins.str:
|
|
34318
|
+
"""
|
|
34319
|
+
Inference URL for the model
|
|
34320
|
+
"""
|
|
34321
|
+
return pulumi.get(self, "inference_url")
|
|
34322
|
+
|
|
34323
|
+
@_builtins.property
|
|
34324
|
+
@pulumi.getter
|
|
34325
|
+
def region(self) -> _builtins.str:
|
|
34326
|
+
"""
|
|
34327
|
+
Region where the model is deployed
|
|
34328
|
+
"""
|
|
34329
|
+
return pulumi.get(self, "region")
|
|
34330
|
+
|
|
34331
|
+
@_builtins.property
|
|
34332
|
+
@pulumi.getter(name="servesBatch")
|
|
34333
|
+
def serves_batch(self) -> _builtins.bool:
|
|
34334
|
+
"""
|
|
34335
|
+
Indicates if the model serves batch requests
|
|
34336
|
+
"""
|
|
34337
|
+
return pulumi.get(self, "serves_batch")
|
|
34338
|
+
|
|
34339
|
+
@_builtins.property
|
|
34340
|
+
@pulumi.getter(name="servesInference")
|
|
34341
|
+
def serves_inference(self) -> _builtins.bool:
|
|
34342
|
+
"""
|
|
34343
|
+
Indicates if the model serves inference requests
|
|
34344
|
+
"""
|
|
34345
|
+
return pulumi.get(self, "serves_inference")
|
|
34346
|
+
|
|
34347
|
+
@_builtins.property
|
|
34348
|
+
@pulumi.getter(name="streamInferenceUrl")
|
|
34349
|
+
def stream_inference_url(self) -> _builtins.str:
|
|
34350
|
+
"""
|
|
34351
|
+
Streaming inference URL for the model
|
|
34352
|
+
"""
|
|
34353
|
+
return pulumi.get(self, "stream_inference_url")
|
|
34354
|
+
|
|
34355
|
+
|
|
34356
|
+
@pulumi.output_type
|
|
34357
|
+
class GetGenaiRegionsSortResult(dict):
|
|
34358
|
+
def __init__(__self__, *,
|
|
34359
|
+
key: _builtins.str,
|
|
34360
|
+
direction: Optional[_builtins.str] = None):
|
|
34361
|
+
pulumi.set(__self__, "key", key)
|
|
34362
|
+
if direction is not None:
|
|
34363
|
+
pulumi.set(__self__, "direction", direction)
|
|
34364
|
+
|
|
34365
|
+
@_builtins.property
|
|
34366
|
+
@pulumi.getter
|
|
34367
|
+
def key(self) -> _builtins.str:
|
|
34368
|
+
return pulumi.get(self, "key")
|
|
34369
|
+
|
|
34370
|
+
@_builtins.property
|
|
34371
|
+
@pulumi.getter
|
|
34372
|
+
def direction(self) -> Optional[_builtins.str]:
|
|
34373
|
+
return pulumi.get(self, "direction")
|
|
34374
|
+
|
|
34375
|
+
|
|
33973
34376
|
@pulumi.output_type
|
|
33974
34377
|
class GetImagesFilterResult(dict):
|
|
33975
34378
|
def __init__(__self__, *,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
pulumi_digitalocean/__init__.py,sha256=
|
|
1
|
+
pulumi_digitalocean/__init__.py,sha256=n0aBYsph2c9UvMnn3uY-q3xToxHYZfAD6bebFilr6Og,17144
|
|
2
2
|
pulumi_digitalocean/_enums.py,sha256=BjPVHb6LBzb5rTS4gHQ4xcGbGDQyrw1B5GDlI4Yqdr8,10220
|
|
3
|
-
pulumi_digitalocean/_inputs.py,sha256=
|
|
3
|
+
pulumi_digitalocean/_inputs.py,sha256=Sjbxopa0P_Krq9P7Chs999Tu7h5E1IbEBy7cXYWs-n0,1102276
|
|
4
4
|
pulumi_digitalocean/_utilities.py,sha256=66uLGQDI1oMFOI3Fe5igAphtexWhcSLDyuVW50jW3ik,10789
|
|
5
5
|
pulumi_digitalocean/app.py,sha256=lnZO4ydfjXItkguo3sV-tQPmR1d4eBCrfJKrn5QcKWE,28578
|
|
6
6
|
pulumi_digitalocean/cdn.py,sha256=vFT92zO_tpmpm1VDIA_7NJLVkxMl_MYZpmL79dkYNzU,22867
|
|
@@ -64,8 +64,10 @@ pulumi_digitalocean/get_genai_agents_by_openai_api_key.py,sha256=yYQitGdFqOAnL1i
|
|
|
64
64
|
pulumi_digitalocean/get_genai_knowledge_base.py,sha256=oTzs2Lx8DARcAFSVUHPlFrDf01NaswX5gYg4H78TlX4,12468
|
|
65
65
|
pulumi_digitalocean/get_genai_knowledge_base_data_sources.py,sha256=eCOz423w90BE4j3Z-UfMeSZpM7vvRYXnZ7Q31D5ODC0,4458
|
|
66
66
|
pulumi_digitalocean/get_genai_knowledge_bases.py,sha256=g4RwE_xynSkCy1V4OZOo5LfOu1ULXUMf0u7YeeRZPY0,5117
|
|
67
|
+
pulumi_digitalocean/get_genai_models.py,sha256=XGejGbNvaRAa69qWKH4awdpFKLFEhm8rkFpocMn-aVk,4664
|
|
67
68
|
pulumi_digitalocean/get_genai_openai_api_key.py,sha256=OpLI3z_7mG54Yt8SucygzdGBUyMzVlbmb30czxOSAgo,6210
|
|
68
69
|
pulumi_digitalocean/get_genai_openai_api_keys.py,sha256=8I0AOQ2CfMtfg1mEnuk1KawF3dvP0e7tjVrRs2n25Rg,5087
|
|
70
|
+
pulumi_digitalocean/get_genai_regions.py,sha256=vDtaqhyGIjmhdHRHXPuJkpM-SjHWAx-RDXUHOnBe91M,4715
|
|
69
71
|
pulumi_digitalocean/get_image.py,sha256=8QJJ3ykhnOiFdrSkHhNKiYpvMODYgUufdgC3XXJ32tc,14184
|
|
70
72
|
pulumi_digitalocean/get_images.py,sha256=sBCiv9W9OTzFVeRO91Wwfc8BZR7R9gylUfj_QDlzshQ,7860
|
|
71
73
|
pulumi_digitalocean/get_kubernetes_cluster.py,sha256=oiLpRSo3mfRUrjpyplVYI20BSfJY1xHEnQZxXkG_-lk,22702
|
|
@@ -100,12 +102,12 @@ pulumi_digitalocean/kubernetes_cluster.py,sha256=580UgYrpmopNxXIG1nWzAIAMrFjCGit
|
|
|
100
102
|
pulumi_digitalocean/kubernetes_node_pool.py,sha256=aSR04-U6WloxWTIjWB5oi0lgsexXMbaUml1yy-umUL0,39509
|
|
101
103
|
pulumi_digitalocean/load_balancer.py,sha256=aM43Sk1FHGbWeBivKKbIGlIbYnTYEjAcgKP4SJ6zfq0,85253
|
|
102
104
|
pulumi_digitalocean/monitor_alert.py,sha256=U5JWEsFkO7Ln7_ANqW3-qgg6DMhcz85qxTEIvxNgm64,38632
|
|
103
|
-
pulumi_digitalocean/outputs.py,sha256=
|
|
105
|
+
pulumi_digitalocean/outputs.py,sha256=AlAoYFHRhASAfrjLTBJGfRb1OuF1nv4pz2lML5Lr9vI,1427993
|
|
104
106
|
pulumi_digitalocean/partner_attachment.py,sha256=87QyA1Utqqokna7LiHhxxSgypbuEiuU1UNTrP3iPOJU,24553
|
|
105
107
|
pulumi_digitalocean/project.py,sha256=790IbhJNTJUWzp8fqPFPufAgmhGJNRTM-XumHNv-tqc,26058
|
|
106
108
|
pulumi_digitalocean/project_resources.py,sha256=hrnjVNtTaentjMbhlmFivfY0bqGT8DgO5DnMSlQzY_M,10859
|
|
107
109
|
pulumi_digitalocean/provider.py,sha256=ughfy0OUJdK9ZupsUhb1NiZq18nzq3QxaI2QQ2Pcxhc,16389
|
|
108
|
-
pulumi_digitalocean/pulumi-plugin.json,sha256=
|
|
110
|
+
pulumi_digitalocean/pulumi-plugin.json,sha256=sYm8eq9QasTETHMyJAdMAugihCYu1jusJt7BvkQ5ciQ,89
|
|
109
111
|
pulumi_digitalocean/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
110
112
|
pulumi_digitalocean/reserved_ip.py,sha256=6nadG79sbi7OQfGGUXS14R1ShYI8jf82Z2O03pzhLTs,13495
|
|
111
113
|
pulumi_digitalocean/reserved_ip_assignment.py,sha256=bcJyGcJ4qVrsoq-02QXc8CbNzZbihsyejtTGqy2Oims,10779
|
|
@@ -130,7 +132,7 @@ pulumi_digitalocean/vpc_peering.py,sha256=gbvtHjLtydRs5a637xVOSozuWPwLsrOvWDU29o
|
|
|
130
132
|
pulumi_digitalocean/config/__init__.py,sha256=XWnQfVtc2oPapjSXXCdORFJvMpXt_SMJQASWdTRoPmc,296
|
|
131
133
|
pulumi_digitalocean/config/__init__.pyi,sha256=14znViTkWM8dAhziCo0xx03AsaWPEY9Lg_eVKOdZ6zs,1317
|
|
132
134
|
pulumi_digitalocean/config/vars.py,sha256=OaThQn6yyBN7URJkzZseWEqUCPW2nzsjERvHzyq0SS8,2595
|
|
133
|
-
pulumi_digitalocean-4.
|
|
134
|
-
pulumi_digitalocean-4.
|
|
135
|
-
pulumi_digitalocean-4.
|
|
136
|
-
pulumi_digitalocean-4.
|
|
135
|
+
pulumi_digitalocean-4.55.0a1760420979.dist-info/METADATA,sha256=dO1Fi9epdNvTBx55XjPqnugwrwLcgFu29O5Im2DhpyU,3852
|
|
136
|
+
pulumi_digitalocean-4.55.0a1760420979.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
137
|
+
pulumi_digitalocean-4.55.0a1760420979.dist-info/top_level.txt,sha256=XKSLMAXl7fDVTPZg8SJT7Hf8IqOk5hUr_uZtGCtKg8w,20
|
|
138
|
+
pulumi_digitalocean-4.55.0a1760420979.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|