Sha256: 3904344369548fe2f8f402d526d0ddfdfd271e33722c82d167d52071125aac80
Contents?: true
Size: 1.32 KB
Versions: 2
Compression:
Stored size: 1.32 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ContainerInstance::Mgmt::V2017_08_01_preview module Models # # The port exposed on the container group. # class Port include MsRestAzure # @return [ContainerGroupNetworkProtocol] The protocol associated with # the port. Possible values include: 'TCP', 'UDP' attr_accessor :protocol # @return [Integer] The port number. attr_accessor :port # # Mapper for Port class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'Port', type: { name: 'Composite', class_name: 'Port', model_properties: { protocol: { required: false, serialized_name: 'protocol', type: { name: 'String' } }, port: { required: true, serialized_name: 'port', type: { name: 'Number' } } } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems