pulumi-digitalocean 4.53.0a1757051129__py3-none-any.whl → 4.54.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.
@@ -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')))
@@ -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,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "digitalocean",
4
- "version": "4.53.0-alpha.1757051129"
4
+ "version": "4.54.0"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_digitalocean
3
- Version: 4.53.0a1757051129
3
+ Version: 4.54.0
4
4
  Summary: A Pulumi package for creating and managing DigitalOcean cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io