Class: Com::Vmware::Appliance::Networking::Dns::Hostname

Inherits:
VAPI::Bindings::VapiService
  • Object
show all
Defined in:
/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/networking/dns.rb

Overview

``Com::Vmware::Appliance::Networking::Dns::Hostname`` class provides methods Performs operations on Fully Qualified Doman Name.

Defined Under Namespace

Classes: Message, MessageStatus, TestStatus, TestStatusInfo

Instance Method Summary (collapse)

Constructor Details

- (Hostname) initialize(config)

Constructs a new instance.

Parameters:

  • config (VAPI::Bindings::StubConfig)

    A hash with the api provider details.



178
179
180
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/networking/dns.rb', line 178

def initialize(config)
    super(config, @@service_info)
end

Instance Method Details

- (String) get

Get the Fully Qualified Doman Name.

Returns:

  • (String)

    FQDN.

Raises:



218
219
220
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/networking/dns.rb', line 218

def get()
    invoke_with_info(@@get_info)
end

- (Void) set(name)

Set the Fully Qualified Domain Name.

Parameters:

  • name (String)

    FQDN.

Returns:

  • (Void)

Raises:



205
206
207
208
209
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/networking/dns.rb', line 205

def set(name)
    invoke_with_info(@@set_info, {
        'name' => name,
    })
end

- (Com::Vmware::Appliance::Networking::Dns::Hostname::TestStatusInfo) test(name)

Test the Fully Qualified Domain Name.

Parameters:

  • name (String)

    FQDN.

Returns:

Raises:



191
192
193
194
195
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/networking/dns.rb', line 191

def test(name)
    invoke_with_info(@@test_info, {
        'name' => name,
    })
end