Sha256: 1863cb67fb486900aa4b3bbe79f6a3878227c8e80be8dbdb3b33a7521848981f

Contents?: true

Size: 1.7 KB

Versions: 2

Compression:

Stored size: 1.7 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::Storage::Mgmt::V2020_08_01_preview
  module Models
    #
    # Actions are applied to the filtered blobs when the execution condition is
    # met.
    #
    class ManagementPolicyAction

      include MsRestAzure

      # @return [ManagementPolicyBaseBlob] The management policy action for
      # base blob
      attr_accessor :base_blob

      # @return [ManagementPolicySnapShot] The management policy action for
      # snapshot
      attr_accessor :snapshot


      #
      # Mapper for ManagementPolicyAction class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ManagementPolicyAction',
          type: {
            name: 'Composite',
            class_name: 'ManagementPolicyAction',
            model_properties: {
              base_blob: {
                client_side_validation: true,
                required: false,
                serialized_name: 'baseBlob',
                type: {
                  name: 'Composite',
                  class_name: 'ManagementPolicyBaseBlob'
                }
              },
              snapshot: {
                client_side_validation: true,
                required: false,
                serialized_name: 'snapshot',
                type: {
                  name: 'Composite',
                  class_name: 'ManagementPolicySnapShot'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.23.0 lib/2020-08-01-preview/generated/azure_mgmt_storage/models/management_policy_action.rb
azure_mgmt_storage-0.22.0 lib/2020-08-01-preview/generated/azure_mgmt_storage/models/management_policy_action.rb