class Azure::ContainerInstance::Mgmt::V2017_12_01_preview::Models::IpAddress
IP address for the container group.
Attributes
ip[RW]
@return [String] The IP exposed to the public internet.
ports[RW]
@return [Array<Port>] The list of ports exposed on the container group.
type[RW]
@return [String] Specifies if the IP is exposed to the public internet. Default value: 'Public' .
Public Class Methods
mapper()
click to toggle source
Mapper for IpAddress
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb, line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'IpAddress', type: { name: 'Composite', class_name: 'IpAddress', model_properties: { ports: { client_side_validation: true, required: true, serialized_name: 'ports', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'PortElementType', type: { name: 'Composite', class_name: 'Port' } } } }, type: { client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', default_value: 'Public', type: { name: 'String' } }, ip: { client_side_validation: true, required: false, serialized_name: 'ip', type: { name: 'String' } } } } } end