Class: Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressReadOnly

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

Overview

``Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressReadOnly`` class Structure that you can use to get information about an IPv6 address along with its origin and status.

Instance Attribute Summary (collapse)

Class Method Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (IPv6AddressReadOnly) initialize(ruby_values = nil, struct_value = nil)

Constructs a new instance.

Parameters:

  • ruby_values (Hash) (defaults to: nil)

    a map of initial property values (optional)

  • struct_value (VAPI::Data::StructValue) (defaults to: nil)

    a raw StructValue from the wire (optional)



472
473
474
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 472

def initialize(ruby_values=nil, struct_value=nil)
    super(self.class.binding_type, ruby_values, struct_value)
end

Instance Attribute Details

- (String) address

IPv6 address, for example, fc00:10:20:83:20c:29ff:fe94:bb5a.

Returns:

  • (String)


443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 443

class IPv6AddressReadOnly < VAPI::Bindings::VapiStruct

    class << self
        # Holds (gets or creates) the binding type metadata for this structure type.
        # @scope class
        # @return [VAPI::Bindings::StructType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::StructType.new(
                'com.vmware.appliance.techpreview.networking.ipv6.I_pv6_address_read_only',
                {
                    'address' => VAPI::Bindings::StringType.instance,
                    'prefix' => VAPI::Bindings::IntegerType.instance,
                    'origin' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin'),
                    'status' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressStatus'),
                },
                IPv6AddressReadOnly,
                false,
                nil)
        end
    end

    attr_accessor :address,
                  :prefix,
                  :origin,
                  :status

    # Constructs a new instance.
    # @param ruby_values [Hash] a map of initial property values (optional)
    # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end
end

- (Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin) origin

Origin of the IPv6 address. For more information, see RFC 4293.



443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 443

class IPv6AddressReadOnly < VAPI::Bindings::VapiStruct

    class << self
        # Holds (gets or creates) the binding type metadata for this structure type.
        # @scope class
        # @return [VAPI::Bindings::StructType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::StructType.new(
                'com.vmware.appliance.techpreview.networking.ipv6.I_pv6_address_read_only',
                {
                    'address' => VAPI::Bindings::StringType.instance,
                    'prefix' => VAPI::Bindings::IntegerType.instance,
                    'origin' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin'),
                    'status' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressStatus'),
                },
                IPv6AddressReadOnly,
                false,
                nil)
        end
    end

    attr_accessor :address,
                  :prefix,
                  :origin,
                  :status

    # Constructs a new instance.
    # @param ruby_values [Hash] a map of initial property values (optional)
    # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end
end

- (Fixnum) prefix

IPv6 CIDR prefix, for example, 64.

Returns:

  • (Fixnum)


443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 443

class IPv6AddressReadOnly < VAPI::Bindings::VapiStruct

    class << self
        # Holds (gets or creates) the binding type metadata for this structure type.
        # @scope class
        # @return [VAPI::Bindings::StructType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::StructType.new(
                'com.vmware.appliance.techpreview.networking.ipv6.I_pv6_address_read_only',
                {
                    'address' => VAPI::Bindings::StringType.instance,
                    'prefix' => VAPI::Bindings::IntegerType.instance,
                    'origin' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin'),
                    'status' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressStatus'),
                },
                IPv6AddressReadOnly,
                false,
                nil)
        end
    end

    attr_accessor :address,
                  :prefix,
                  :origin,
                  :status

    # Constructs a new instance.
    # @param ruby_values [Hash] a map of initial property values (optional)
    # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end
end

- (Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressStatus) status

Status of the IPv6 address. For more information, see RFC 4293.



443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 443

class IPv6AddressReadOnly < VAPI::Bindings::VapiStruct

    class << self
        # Holds (gets or creates) the binding type metadata for this structure type.
        # @scope class
        # @return [VAPI::Bindings::StructType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::StructType.new(
                'com.vmware.appliance.techpreview.networking.ipv6.I_pv6_address_read_only',
                {
                    'address' => VAPI::Bindings::StringType.instance,
                    'prefix' => VAPI::Bindings::IntegerType.instance,
                    'origin' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin'),
                    'status' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressStatus'),
                },
                IPv6AddressReadOnly,
                false,
                nil)
        end
    end

    attr_accessor :address,
                  :prefix,
                  :origin,
                  :status

    # Constructs a new instance.
    # @param ruby_values [Hash] a map of initial property values (optional)
    # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end
end

Class Method Details

+ (VAPI::Bindings::StructType) binding_type

Holds (gets or creates) the binding type metadata for this structure type.

Returns:

  • (VAPI::Bindings::StructType)

    the binding type



449
450
451
452
453
454
455
456
457
458
459
460
461
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 449

def binding_type
    @binding_type ||= VAPI::Bindings::StructType.new(
        'com.vmware.appliance.techpreview.networking.ipv6.I_pv6_address_read_only',
        {
            'address' => VAPI::Bindings::StringType.instance,
            'prefix' => VAPI::Bindings::IntegerType.instance,
            'origin' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin'),
            'status' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressStatus'),
        },
        IPv6AddressReadOnly,
        false,
        nil)
end