class Azure::ContainerInstance::Mgmt::V2018_04_01::Models::IpAddress
IP address for the container group.
Attributes
dns_name_label[RW]
@return [String] The Dns name label for the IP.
fqdn[RW]
@return [String] The FQDN for the IP.
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/2018-04-01/generated/azure_mgmt_container_instance/models/ip_address.rb, line 36 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' } }, dns_name_label: { client_side_validation: true, required: false, serialized_name: 'dnsNameLabel', type: { name: 'String' } }, fqdn: { client_side_validation: true, required: false, read_only: true, serialized_name: 'fqdn', type: { name: 'String' } } } } } end