class Azure::CDN::Mgmt::V2017_10_12::Models::OriginUpdateParameters
Origin
properties needed for origin creation or update.
Attributes
host_name[RW]
@return [String] The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.
http_port[RW]
@return [Integer] The value of the HTTP port. Must be between 1 and 65535.
https_port[RW]
@return [Integer] The value of the HTTPS port. Must be between 1 and 65535.
Public Class Methods
mapper()
click to toggle source
Mapper for OriginUpdateParameters
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-10-12/generated/azure_mgmt_cdn/models/origin_update_parameters.rb, line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'OriginUpdateParameters', type: { name: 'Composite', class_name: 'OriginUpdateParameters', model_properties: { host_name: { client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { name: 'String' } }, http_port: { client_side_validation: true, required: false, serialized_name: 'properties.httpPort', constraints: { InclusiveMaximum: 65535, InclusiveMinimum: 1 }, type: { name: 'Number' } }, https_port: { client_side_validation: true, required: false, serialized_name: 'properties.httpsPort', constraints: { InclusiveMaximum: 65535, InclusiveMinimum: 1 }, type: { name: 'Number' } } } } } end