Class: OpenAI::Models::Admin::Organization::ExternalStorageCreateParams::Provider::Azure

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/admin/organization/external_storage_create_params.rb,
sig/openai/models/admin/organization/external_storage_create_params.rbs

Instance Attribute Summary collapse

Attributes inherited from Internal::Type::BaseModel

#last_response

Instance Method Summary collapse

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 ⇒ Azure

Returns a new instance of Azure.

Parameters:

  • account_name: (String)
  • container: (String)
  • resource_group: (String)
  • subscription_id: (String)
  • tenant_id: (String)
  • type: (:azure)


152
153
154
155
156
157
158
159
# File 'sig/openai/models/admin/organization/external_storage_create_params.rbs', line 152

def initialize: (
  account_name: String,
  container: String,
  resource_group: String,
  subscription_id: String,
  tenant_id: String,
  ?type: :azure
) -> void

Instance Attribute Details

#account_name ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


66
# File 'lib/openai/models/admin/organization/external_storage_create_params.rb', line 66

required :account_name, String

#container ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


71
# File 'lib/openai/models/admin/organization/external_storage_create_params.rb', line 71

required :container, String

#resource_group ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


76
# File 'lib/openai/models/admin/organization/external_storage_create_params.rb', line 76

required :resource_group, String

#subscription_id ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


81
# File 'lib/openai/models/admin/organization/external_storage_create_params.rb', line 81

required :subscription_id, String

#tenant_id ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


86
# File 'lib/openai/models/admin/organization/external_storage_create_params.rb', line 86

required :tenant_id, String

#type ⇒ Symbol, :azure

Parameters:

  • value (:azure)

Returns:

  • (Symbol, :azure)


91
# File 'lib/openai/models/admin/organization/external_storage_create_params.rb', line 91

required :type, const: :azure

Instance Method Details

#to_hash ⇒ { account_name: String, container: String, resource_group: String, subscription_id: String, tenant_id: String, ?type: :azure }

Returns:

  • ({ account_name: String, container: String, resource_group: String, subscription_id: String, tenant_id: String, ?type: :azure })


161
162
163
164
165
166
167
168
# File 'sig/openai/models/admin/organization/external_storage_create_params.rbs', line 161

def to_hash: -> {
  account_name: String,
  container: String,
  resource_group: String,
  subscription_id: String,
  tenant_id: String,
  ?type: :azure
}