Class: OpenAI::Models::Admin::Organization::ExternalKeyCreateParams::Body::Azure
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::ExternalKeyCreateParams::Body::Azure
- Defined in:
- lib/openai/models/admin/organization/external_key_create_params.rb,
sig/openai/models/admin/organization/external_key_create_params.rbs
Defined Under Namespace
Modules: Purpose
Instance Attribute Summary collapse
-
#key_name ⇒ String
The name of the Azure Key Vault master key that you manage.
-
#key_version ⇒ String?
An exact Azure Key Vault key version.
-
#name ⇒ String
A friendly name to identify this config.
- #purpose ⇒ Symbol, ...
-
#tenant_id ⇒ String
Your Azure tenant UUID.
- #type ⇒ Symbol, :azure
-
#vault_uri ⇒ String
The URI of the Azure vault containing the master key you manage.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(key_name:, name:, tenant_id:, vault_uri:, key_version: nil, purpose: nil, type: :azure) ⇒ Azure
constructor
A new instance of Azure.
- #to_hash ⇒ { key_name: String, name: String, tenant_id: String, ?type: :azure, vault_uri: String, ?key_version: String, ?purpose: OpenAI::Models::Admin::Organization::ExternalKeyCreateParams::Body::Azure::purpose }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, fields, hash, #hash, inherited, #inspect, inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(key_name:, name:, tenant_id:, vault_uri:, key_version: nil, purpose: nil, type: :azure) ⇒ Azure
Returns a new instance of Azure.
|
|
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 273
|
Instance Attribute Details
#key_name ⇒ String
The name of the Azure Key Vault master key that you manage
233 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 233 required :key_name, String |
#key_version ⇒ String?
An exact Azure Key Vault key version. Required for PSP decryption; not accepted for EKM.
263 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 263 optional :key_version, String |
#name ⇒ String
A friendly name to identify this config
239 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 239 required :name, String |
#purpose ⇒ Symbol, ...
268 269 270 271 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 268 optional( :purpose, enum: -> { OpenAI::Admin::Organization::ExternalKeyCreateParams::Body::Azure::Purpose } ) |
#tenant_id ⇒ String
Your Azure tenant UUID
245 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 245 required :tenant_id, String |
#type ⇒ Symbol, :azure
250 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 250 required :type, const: :azure |
#vault_uri ⇒ String
The URI of the Azure vault containing the master key you manage
256 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 256 required :vault_uri, String |
Instance Method Details
#to_hash ⇒ { key_name: String, name: String, tenant_id: String, ?type: :azure, vault_uri: String, ?key_version: String, ?purpose: OpenAI::Models::Admin::Organization::ExternalKeyCreateParams::Body::Azure::purpose }
423 424 425 426 427 428 429 430 431 |
# File 'sig/openai/models/admin/organization/external_key_create_params.rbs', line 423
def to_hash: -> {
key_name: String,
name: String,
tenant_id: String,
?type: :azure,
vault_uri: String,
?key_version: String,
?purpose: OpenAI::Models::Admin::Organization::ExternalKeyCreateParams::Body::Azure::purpose
}
|