class Azure::Storage::Mgmt::V2021_01_01::Models::ManagementPolicyAction

Actions are applied to the filtered blobs when the execution condition is met.

Attributes

base_blob[RW]

@return [ManagementPolicyBaseBlob] The management policy action for base blob

snapshot[RW]

@return [ManagementPolicySnapShot] The management policy action for snapshot

version[RW]

@return [ManagementPolicyVersion] The management policy action for version

Private Class Methods

mapper() click to toggle source

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

# File lib/2021-01-01/generated/azure_mgmt_storage/models/management_policy_action.rb, line 33
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'
          }
        },
        version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'version',
          type: {
            name: 'Composite',
            class_name: 'ManagementPolicyVersion'
          }
        }
      }
    }
  }
end