Class: Azure::Storage::Mgmt::V2021_01_01::Models::ManagementPolicyAction
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2021_01_01::Models::ManagementPolicyAction
- Includes:
- MsRestAzure
- Defined in:
- lib/2021-01-01/generated/azure_mgmt_storage/models/management_policy_action.rb
Overview
Actions are applied to the filtered blobs when the execution condition is met.
Instance Attribute Summary collapse
-
#base_blob ⇒ ManagementPolicyBaseBlob
base blob.
-
#snapshot ⇒ ManagementPolicySnapShot
snapshot.
-
#version ⇒ ManagementPolicyVersion
version.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ManagementPolicyAction class as Ruby Hash.
Instance Attribute Details
#base_blob ⇒ ManagementPolicyBaseBlob
base blob
18 19 20 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/management_policy_action.rb', line 18 def base_blob @base_blob end |
#snapshot ⇒ ManagementPolicySnapShot
snapshot
22 23 24 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/management_policy_action.rb', line 22 def snapshot @snapshot end |
#version ⇒ ManagementPolicyVersion
version
26 27 28 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/management_policy_action.rb', line 26 def version @version end |
Class Method Details
.mapper ⇒ Object
Mapper for ManagementPolicyAction class as Ruby Hash. This will be used for serialization/deserialization.
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
# 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 |