class Azure::CDN::Mgmt::V2017_10_12::Models::EndpointPropertiesUpdateParametersDeliveryPolicy
A policy that specifies the delivery rules to be used for an endpoint.
Attributes
description[RW]
@return [String] User-friendly description of the policy.
rules[RW]
@return [Array<DeliveryRule>] A list of the delivery rules.
Public Class Methods
mapper()
click to toggle source
Mapper for EndpointPropertiesUpdateParametersDeliveryPolicy
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_properties_update_parameters_delivery_policy.rb, line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EndpointPropertiesUpdateParameters_deliveryPolicy', type: { name: 'Composite', class_name: 'EndpointPropertiesUpdateParametersDeliveryPolicy', model_properties: { description: { client_side_validation: true, required: false, serialized_name: 'description', type: { name: 'String' } }, rules: { client_side_validation: true, required: false, serialized_name: 'rules', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'DeliveryRuleElementType', type: { name: 'Composite', class_name: 'DeliveryRule' } } } } } } } end