Class: DockerEngineRuby::Models::NetworkCreateParams::ConfigFrom
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DockerEngineRuby::Models::NetworkCreateParams::ConfigFrom
- Defined in:
- lib/docker_engine_ruby/models/network_create_params.rb
Instance Attribute Summary collapse
-
#network ⇒ String?
The name of the config-only network that provides the network’s configuration.
Instance Method Summary collapse
-
#initialize(name:, attachable: nil, config_from: nil, config_only: nil, driver: nil, enable_i_pv4: nil, enable_i_pv6: nil, ingress: nil, internal: nil, ipam: nil, labels: nil, options: nil, scope: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see DockerEngineRuby::Models::NetworkCreateParams for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, 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, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, 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(name:, attachable: nil, config_from: nil, config_only: nil, driver: nil, enable_i_pv4: nil, enable_i_pv6: nil, ingress: nil, internal: nil, ipam: nil, labels: nil, options: nil, scope: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see DockerEngineRuby::Models::NetworkCreateParams for more details.
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 |
# File 'lib/docker_engine_ruby/models/network_create_params.rb', line 108 class ConfigFrom < DockerEngineRuby::Internal::Type::BaseModel # @!attribute network # The name of the config-only network that provides the network's configuration. # The specified network must be an existing config-only network. Only network # names are allowed, not network IDs. # # @return [String, nil] optional :network, String, api_name: :Network # @!method initialize(network: nil) # Some parameter documentations has been truncated, see # {DockerEngineRuby::Models::NetworkCreateParams::ConfigFrom} for more details. # # The config-only network source to provide the configuration for this network. # # @param network [String] The name of the config-only network that provides the network's end |
Instance Attribute Details
#network ⇒ String?
The name of the config-only network that provides the network’s configuration. The specified network must be an existing config-only network. Only network names are allowed, not network IDs.
115 |
# File 'lib/docker_engine_ruby/models/network_create_params.rb', line 115 optional :network, String, api_name: :Network |