Sha256: f7d6a1f6a84ad78522e7fa439f5e462780af7fe4e20077acfac372019f32baf6

Contents?: true

Size: 1.77 KB

Versions: 18

Compression:

Stored size: 1.77 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::V2018_11_01
  module Models
    #
    # The Storage Account ManagementPolicies Rules. See more details in:
    # https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
    #
    class ManagementPolicySchema

      include MsRestAzure

      # @return [Array<ManagementPolicyRule>] The Storage Account
      # ManagementPolicies Rules. See more details in:
      # https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
      attr_accessor :rules


      #
      # Mapper for ManagementPolicySchema class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ManagementPolicySchema',
          type: {
            name: 'Composite',
            class_name: 'ManagementPolicySchema',
            model_properties: {
              rules: {
                client_side_validation: true,
                required: true,
                serialized_name: 'rules',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'ManagementPolicyRuleElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'ManagementPolicyRule'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.23.0 lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb
azure_mgmt_storage-0.22.0 lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb
azure_mgmt_storage-0.21.2 lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb
azure_mgmt_storage-0.21.1 lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb
azure_mgmt_storage-0.21.0 lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb
azure_mgmt_storage-0.20.1 lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb
azure_mgmt_storage-0.20.0 lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb
azure_mgmt_storage-0.19.3 lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb
azure_mgmt_storage-0.19.2 lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb
azure_mgmt_storage-0.19.1 lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb
azure_mgmt_storage-0.19.0 lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb
azure_mgmt_storage-0.18.2 lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb
azure_mgmt_storage-0.18.1 lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb
azure_mgmt_storage-0.18.0 lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb
azure_mgmt_storage-0.17.10 lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb
azure_mgmt_storage-0.17.9 lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb
azure_mgmt_storage-0.17.8 lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb
azure_mgmt_storage-0.17.7 lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb