DigitalOcean v4.51.0 published on Thursday, Aug 14, 2025 by Pulumi
digitalocean.getGenaiOpenaiApiKeys
Explore with Pulumi AI
Using getGenaiOpenaiApiKeys
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGenaiOpenaiApiKeys(args: GetGenaiOpenaiApiKeysArgs, opts?: InvokeOptions): Promise<GetGenaiOpenaiApiKeysResult>
function getGenaiOpenaiApiKeysOutput(args: GetGenaiOpenaiApiKeysOutputArgs, opts?: InvokeOptions): Output<GetGenaiOpenaiApiKeysResult>
def get_genai_openai_api_keys(filters: Optional[Sequence[GetGenaiOpenaiApiKeysFilter]] = None,
sorts: Optional[Sequence[GetGenaiOpenaiApiKeysSort]] = None,
opts: Optional[InvokeOptions] = None) -> GetGenaiOpenaiApiKeysResult
def get_genai_openai_api_keys_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetGenaiOpenaiApiKeysFilterArgs]]]] = None,
sorts: Optional[pulumi.Input[Sequence[pulumi.Input[GetGenaiOpenaiApiKeysSortArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGenaiOpenaiApiKeysResult]
func GetGenaiOpenaiApiKeys(ctx *Context, args *GetGenaiOpenaiApiKeysArgs, opts ...InvokeOption) (*GetGenaiOpenaiApiKeysResult, error)
func GetGenaiOpenaiApiKeysOutput(ctx *Context, args *GetGenaiOpenaiApiKeysOutputArgs, opts ...InvokeOption) GetGenaiOpenaiApiKeysResultOutput
> Note: This function is named GetGenaiOpenaiApiKeys
in the Go SDK.
public static class GetGenaiOpenaiApiKeys
{
public static Task<GetGenaiOpenaiApiKeysResult> InvokeAsync(GetGenaiOpenaiApiKeysArgs args, InvokeOptions? opts = null)
public static Output<GetGenaiOpenaiApiKeysResult> Invoke(GetGenaiOpenaiApiKeysInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGenaiOpenaiApiKeysResult> getGenaiOpenaiApiKeys(GetGenaiOpenaiApiKeysArgs args, InvokeOptions options)
public static Output<GetGenaiOpenaiApiKeysResult> getGenaiOpenaiApiKeys(GetGenaiOpenaiApiKeysArgs args, InvokeOptions options)
fn::invoke:
function: digitalocean:index/getGenaiOpenaiApiKeys:getGenaiOpenaiApiKeys
arguments:
# arguments dictionary
The following arguments are supported:
getGenaiOpenaiApiKeys Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Openai
Api List<Pulumi.Keys Digital Ocean. Outputs. Get Genai Openai Api Keys Openai Api Key> - Filters
List<Pulumi.
Digital Ocean. Outputs. Get Genai Openai Api Keys Filter> - Sorts
List<Pulumi.
Digital Ocean. Outputs. Get Genai Openai Api Keys Sort>
- Id string
- The provider-assigned unique ID for this managed resource.
- Openai
Api []GetKeys Genai Openai Api Keys Openai Api Key - Filters
[]Get
Genai Openai Api Keys Filter - Sorts
[]Get
Genai Openai Api Keys Sort
- id String
- The provider-assigned unique ID for this managed resource.
- openai
Api List<GetKeys Genai Openai Api Keys Openai Api Key> - filters
List<Get
Genai Openai Api Keys Filter> - sorts
List<Get
Genai Openai Api Keys Sort>
- id string
- The provider-assigned unique ID for this managed resource.
- openai
Api GetKeys Genai Openai Api Keys Openai Api Key[] - filters
Get
Genai Openai Api Keys Filter[] - sorts
Get
Genai Openai Api Keys Sort[]
- id str
- The provider-assigned unique ID for this managed resource.
- openai_
api_ Sequence[Getkeys Genai Openai Api Keys Openai Api Key] - filters
Sequence[Get
Genai Openai Api Keys Filter] - sorts
Sequence[Get
Genai Openai Api Keys Sort]
- id String
- The provider-assigned unique ID for this managed resource.
- openai
Api List<Property Map>Keys - filters List<Property Map>
- sorts List<Property Map>
Supporting Types
GetGenaiOpenaiApiKeysFilter
GetGenaiOpenaiApiKeysOpenaiApiKey
- Created
At string - Timestamp when the API Key was created
- Created
By string - Created By user ID for the API Key
- Deleted
At string - Deleted At timestamp for the API Key
- Models
List<Pulumi.
Digital Ocean. Inputs. Get Genai Openai Api Keys Openai Api Key Model> - List of models associated with the API Key
- Name string
- Name of the API Key
- Updated
At string - Updated At timestamp for the API Key
- Uuid string
- OpenAI API Key Uuid
- Created
At string - Timestamp when the API Key was created
- Created
By string - Created By user ID for the API Key
- Deleted
At string - Deleted At timestamp for the API Key
- Models
[]Get
Genai Openai Api Keys Openai Api Key Model - List of models associated with the API Key
- Name string
- Name of the API Key
- Updated
At string - Updated At timestamp for the API Key
- Uuid string
- OpenAI API Key Uuid
- created
At String - Timestamp when the API Key was created
- created
By String - Created By user ID for the API Key
- deleted
At String - Deleted At timestamp for the API Key
- models
List<Get
Genai Openai Api Keys Openai Api Key Model> - List of models associated with the API Key
- name String
- Name of the API Key
- updated
At String - Updated At timestamp for the API Key
- uuid String
- OpenAI API Key Uuid
- created
At string - Timestamp when the API Key was created
- created
By string - Created By user ID for the API Key
- deleted
At string - Deleted At timestamp for the API Key
- models
Get
Genai Openai Api Keys Openai Api Key Model[] - List of models associated with the API Key
- name string
- Name of the API Key
- updated
At string - Updated At timestamp for the API Key
- uuid string
- OpenAI API Key Uuid
- created_
at str - Timestamp when the API Key was created
- created_
by str - Created By user ID for the API Key
- deleted_
at str - Deleted At timestamp for the API Key
- models
Sequence[Get
Genai Openai Api Keys Openai Api Key Model] - List of models associated with the API Key
- name str
- Name of the API Key
- updated_
at str - Updated At timestamp for the API Key
- uuid str
- OpenAI API Key Uuid
- created
At String - Timestamp when the API Key was created
- created
By String - Created By user ID for the API Key
- deleted
At String - Deleted At timestamp for the API Key
- models List<Property Map>
- List of models associated with the API Key
- name String
- Name of the API Key
- updated
At String - Updated At timestamp for the API Key
- uuid String
- OpenAI API Key Uuid
GetGenaiOpenaiApiKeysOpenaiApiKeyModel
- Created
At string - Created At timestamp for the Knowledge Base
- Updated
At string - Timestamp when the Knowledge Base was updated
- Agreements
List<Pulumi.
Digital Ocean. Inputs. Get Genai Openai Api Keys Openai Api Key Model Agreement> - Agreement information for the model
- Inference
Name string - Inference name of the model
- Inference
Version string - Infernce version of the model
- Is
Foundational bool - Indicates if the Model Base is foundational
- Name string
- Name of the Knowledge Base
- Parent
Uuid string - Parent UUID of the Model
- Provider string
- Provider of the Model
- Upload
Complete bool - Indicates if the Model upload is complete
- Url string
- URL of the Model
- Usecases List<string>
- List of Usecases for the Model
- Versions
List<Pulumi.
Digital Ocean. Inputs. Get Genai Openai Api Keys Openai Api Key Model Version> - URL of the Model
- Created
At string - Created At timestamp for the Knowledge Base
- Updated
At string - Timestamp when the Knowledge Base was updated
- Agreements
[]Get
Genai Openai Api Keys Openai Api Key Model Agreement - Agreement information for the model
- Inference
Name string - Inference name of the model
- Inference
Version string - Infernce version of the model
- Is
Foundational bool - Indicates if the Model Base is foundational
- Name string
- Name of the Knowledge Base
- Parent
Uuid string - Parent UUID of the Model
- Provider string
- Provider of the Model
- Upload
Complete bool - Indicates if the Model upload is complete
- Url string
- URL of the Model
- Usecases []string
- List of Usecases for the Model
- Versions
[]Get
Genai Openai Api Keys Openai Api Key Model Version - URL of the Model
- created
At String - Created At timestamp for the Knowledge Base
- updated
At String - Timestamp when the Knowledge Base was updated
- agreements
List<Get
Genai Openai Api Keys Openai Api Key Model Agreement> - Agreement information for the model
- inference
Name String - Inference name of the model
- inference
Version String - Infernce version of the model
- is
Foundational Boolean - Indicates if the Model Base is foundational
- name String
- Name of the Knowledge Base
- parent
Uuid String - Parent UUID of the Model
- provider String
- Provider of the Model
- upload
Complete Boolean - Indicates if the Model upload is complete
- url String
- URL of the Model
- usecases List<String>
- List of Usecases for the Model
- versions
List<Get
Genai Openai Api Keys Openai Api Key Model Version> - URL of the Model
- created
At string - Created At timestamp for the Knowledge Base
- updated
At string - Timestamp when the Knowledge Base was updated
- agreements
Get
Genai Openai Api Keys Openai Api Key Model Agreement[] - Agreement information for the model
- inference
Name string - Inference name of the model
- inference
Version string - Infernce version of the model
- is
Foundational boolean - Indicates if the Model Base is foundational
- name string
- Name of the Knowledge Base
- parent
Uuid string - Parent UUID of the Model
- provider string
- Provider of the Model
- upload
Complete boolean - Indicates if the Model upload is complete
- url string
- URL of the Model
- usecases string[]
- List of Usecases for the Model
- versions
Get
Genai Openai Api Keys Openai Api Key Model Version[] - URL of the Model
- created_
at str - Created At timestamp for the Knowledge Base
- updated_
at str - Timestamp when the Knowledge Base was updated
- agreements
Sequence[Get
Genai Openai Api Keys Openai Api Key Model Agreement] - Agreement information for the model
- inference_
name str - Inference name of the model
- inference_
version str - Infernce version of the model
- is_
foundational bool - Indicates if the Model Base is foundational
- name str
- Name of the Knowledge Base
- parent_
uuid str - Parent UUID of the Model
- provider str
- Provider of the Model
- upload_
complete bool - Indicates if the Model upload is complete
- url str
- URL of the Model
- usecases Sequence[str]
- List of Usecases for the Model
- versions
Sequence[Get
Genai Openai Api Keys Openai Api Key Model Version] - URL of the Model
- created
At String - Created At timestamp for the Knowledge Base
- updated
At String - Timestamp when the Knowledge Base was updated
- agreements List<Property Map>
- Agreement information for the model
- inference
Name String - Inference name of the model
- inference
Version String - Infernce version of the model
- is
Foundational Boolean - Indicates if the Model Base is foundational
- name String
- Name of the Knowledge Base
- parent
Uuid String - Parent UUID of the Model
- provider String
- Provider of the Model
- upload
Complete Boolean - Indicates if the Model upload is complete
- url String
- URL of the Model
- usecases List<String>
- List of Usecases for the Model
- versions List<Property Map>
- URL of the Model
GetGenaiOpenaiApiKeysOpenaiApiKeyModelAgreement
- Description string
- Description of the agreement
- Name string
- Name of the agreement
- Url string
- URL of the agreement
- Uuid string
- UUID of the agreement
- Description string
- Description of the agreement
- Name string
- Name of the agreement
- Url string
- URL of the agreement
- Uuid string
- UUID of the agreement
- description String
- Description of the agreement
- name String
- Name of the agreement
- url String
- URL of the agreement
- uuid String
- UUID of the agreement
- description string
- Description of the agreement
- name string
- Name of the agreement
- url string
- URL of the agreement
- uuid string
- UUID of the agreement
- description str
- Description of the agreement
- name str
- Name of the agreement
- url str
- URL of the agreement
- uuid str
- UUID of the agreement
- description String
- Description of the agreement
- name String
- Name of the agreement
- url String
- URL of the agreement
- uuid String
- UUID of the agreement
GetGenaiOpenaiApiKeysOpenaiApiKeyModelVersion
GetGenaiOpenaiApiKeysSort
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitalocean
Terraform Provider.