class Azure::Storage::Mgmt::V2021_01_01::Models::BlobInventoryPolicy

The storage account blob inventory policy.

Attributes

last_modified_time[RW]

@return [DateTime] Returns the last modified date and time of the blob inventory policy.

policy[RW]

@return [BlobInventoryPolicySchema] The storage account blob inventory policy object. It is composed of policy rules.

system_data[RW]

@return [SystemData]

Private Class Methods

mapper() click to toggle source

Mapper for BlobInventoryPolicy class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2021-01-01/generated/azure_mgmt_storage/models/blob_inventory_policy.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'BlobInventoryPolicy',
    type: {
      name: 'Composite',
      class_name: 'BlobInventoryPolicy',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        last_modified_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.lastModifiedTime',
          type: {
            name: 'DateTime'
          }
        },
        policy: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.policy',
          default_value: {},
          type: {
            name: 'Composite',
            class_name: 'BlobInventoryPolicySchema'
          }
        },
        system_data: {
          client_side_validation: true,
          required: false,
          serialized_name: 'systemData',
          type: {
            name: 'Composite',
            class_name: 'SystemData'
          }
        }
      }
    }
  }
end