Sha256: bf0594c03be95da3b30f2e535fd5d44d0b0d30e7a68a20c56de9ce3469ba3639

Contents?: true

Size: 1.96 KB

Versions: 11

Compression:

Stored size: 1.96 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::V2017_10_12
  module Models
    #
    # A policy that specifies the delivery rules to be used for an endpoint.
    #
    class EndpointPropertiesUpdateParametersDeliveryPolicy

      include MsRestAzure

      # @return [String] User-friendly description of the policy.
      attr_accessor :description

      # @return [Array<DeliveryRule>] A list of the delivery rules.
      attr_accessor :rules


      #
      # Mapper for EndpointPropertiesUpdateParametersDeliveryPolicy class as
      # Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
azure_mgmt_cdn-0.18.2 lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_properties_update_parameters_delivery_policy.rb
azure_mgmt_cdn-0.18.1 lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_properties_update_parameters_delivery_policy.rb
azure_mgmt_cdn-0.17.7 lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_properties_update_parameters_delivery_policy.rb
azure_mgmt_cdn-0.17.6 lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_properties_update_parameters_delivery_policy.rb
azure_mgmt_cdn-0.17.5 lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_properties_update_parameters_delivery_policy.rb
azure_mgmt_cdn-0.17.4 lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_properties_update_parameters_delivery_policy.rb
azure_mgmt_cdn-0.17.3 lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_properties_update_parameters_delivery_policy.rb
azure_mgmt_cdn-0.17.2 lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_properties_update_parameters_delivery_policy.rb
azure_mgmt_cdn-0.17.1 lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_properties_update_parameters_delivery_policy.rb
azure_mgmt_cdn-0.17.0 lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_properties_update_parameters_delivery_policy.rb
azure_mgmt_cdn-0.16.0 lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_properties_update_parameters_delivery_policy.rb