Sha256: 9aa2f52f599085fa84f87f97b0fc3bc8cb992aa3845a70942e57b67e4ad4d19c

Contents?: true

Size: 1.58 KB

Versions: 5

Compression:

Stored size: 1.58 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::V2020_04_15
  module Models
    #
    # Defines the url rewrite action for the delivery rule.
    #
    class UrlRewriteAction < DeliveryRuleAction

      include MsRestAzure


      def initialize
        @name = "UrlRewrite"
      end

      attr_accessor :name

      # @return [UrlRewriteActionParameters] Defines the parameters for the
      # action.
      attr_accessor :parameters


      #
      # Mapper for UrlRewriteAction class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'UrlRewrite',
          type: {
            name: 'Composite',
            class_name: 'UrlRewriteAction',
            model_properties: {
              name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              parameters: {
                client_side_validation: true,
                required: true,
                serialized_name: 'parameters',
                default_value: {},
                type: {
                  name: 'Composite',
                  class_name: 'UrlRewriteActionParameters'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_cdn-0.18.2 lib/2020-04-15/generated/azure_mgmt_cdn/models/url_rewrite_action.rb
azure_mgmt_cdn-0.18.1 lib/2020-04-15/generated/azure_mgmt_cdn/models/url_rewrite_action.rb
azure_mgmt_cdn-0.17.7 lib/2020-04-15/generated/azure_mgmt_cdn/models/url_rewrite_action.rb
azure_mgmt_cdn-0.17.6 lib/2020-04-15/generated/azure_mgmt_cdn/models/url_rewrite_action.rb
azure_mgmt_cdn-0.17.5 lib/2020-04-15/generated/azure_mgmt_cdn/models/url_rewrite_action.rb