Class: Com::Vmware::Appliance::Networking::Dns::Domains
- Inherits:
-
VAPI::Bindings::VapiService
- Object
- VAPI::Bindings::VapiService
- Com::Vmware::Appliance::Networking::Dns::Domains
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/networking/dns.rb
Overview
``Com::Vmware::Appliance::Networking::Dns::Domains`` class provides methods DNS search domains.
Instance Method Summary (collapse)
-
- (Void) add(domain)
Add domain to DNS search domains.
-
- (Domains) initialize(config)
constructor
Constructs a new instance.
-
- (Array<String>) list
Get list of DNS search domains.
-
- (Void) set(domains)
Set DNS search domains.
Constructor Details
- (Domains) initialize(config)
Constructs a new instance.
77 78 79 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/networking/dns.rb', line 77 def initialize(config) super(config, @@service_info) end |
Instance Method Details
- (Void) add(domain)
Add domain to DNS search domains.
89 90 91 92 93 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/networking/dns.rb', line 89 def add(domain) invoke_with_info(@@add_info, { 'domain' => domain, }) end |
- (Array<String>) list
Get list of DNS search domains.
116 117 118 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/networking/dns.rb', line 116 def list() invoke_with_info(@@list_info) end |
- (Void) set(domains)
Set DNS search domains.
103 104 105 106 107 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/networking/dns.rb', line 103 def set(domains) invoke_with_info(@@set_info, { 'domains' => domains, }) end |