Sha256: c358be6a4ef7293c78efce718a6f5914772061529efb5826d137dda56d406078
Contents?: true
Size: 1.94 KB
Versions: 12
Compression:
Stored size: 1.94 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::CDN::Mgmt::V2015_06_01 module Models # # Origin properties needed for origin creation or update. # class OriginParameters include MsRestAzure # @return [String] The address of the origin. Domain names, IPv4 # addresses, and IPv6 addresses are supported. attr_accessor :host_name # @return [Integer] The value of the HTTP port. Must be between 1 and # 65535. attr_accessor :http_port # @return [Integer] The value of the HTTPS port. Must be between 1 and # 65535. attr_accessor :https_port # # Mapper for OriginParameters class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'OriginParameters', type: { name: 'Composite', class_name: 'OriginParameters', model_properties: { host_name: { client_side_validation: true, required: true, serialized_name: 'properties.hostName', type: { name: 'String' } }, http_port: { client_side_validation: true, required: false, serialized_name: 'properties.httpPort', type: { name: 'Number' } }, https_port: { client_side_validation: true, required: false, serialized_name: 'properties.httpsPort', type: { name: 'Number' } } } } } end end end end
Version data entries
12 entries across 12 versions & 1 rubygems