Class: Azure::ARM::CDN::Models::OriginUpdateParameters
- Inherits:
-
Object
- Object
- Azure::ARM::CDN::Models::OriginUpdateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_cdn/models/origin_update_parameters.rb
Overview
Origin properties needed for origin creation or update.
Instance Attribute Summary collapse
-
#host_name ⇒ String
addresses, and IPv6 addresses are supported.
-
#http_port ⇒ Integer
65535.
-
#https_port ⇒ Integer
65535.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for OriginUpdateParameters class as Ruby Hash.
Instance Attribute Details
#host_name ⇒ String
addresses, and IPv6 addresses are supported.
17 18 19 |
# File 'lib/generated/azure_mgmt_cdn/models/origin_update_parameters.rb', line 17 def host_name @host_name end |
#http_port ⇒ Integer
65535.
21 22 23 |
# File 'lib/generated/azure_mgmt_cdn/models/origin_update_parameters.rb', line 21 def http_port @http_port end |
#https_port ⇒ Integer
65535.
25 26 27 |
# File 'lib/generated/azure_mgmt_cdn/models/origin_update_parameters.rb', line 25 def https_port @https_port end |
Class Method Details
.mapper ⇒ Object
Mapper for OriginUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'lib/generated/azure_mgmt_cdn/models/origin_update_parameters.rb', line 32 def self.mapper() { required: false, serialized_name: 'OriginUpdateParameters', type: { name: 'Composite', class_name: 'OriginUpdateParameters', model_properties: { host_name: { required: false, serialized_name: 'properties.hostName', type: { name: 'String' } }, http_port: { required: false, serialized_name: 'properties.httpPort', constraints: { InclusiveMaximum: 65535, InclusiveMinimum: 1 }, type: { name: 'Number' } }, https_port: { required: false, serialized_name: 'properties.httpsPort', constraints: { InclusiveMaximum: 65535, InclusiveMinimum: 1 }, type: { name: 'Number' } } } } } end |