Class: Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyAction
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyAction
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-06-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.
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/2019-06-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/2019-06-01/generated/azure_mgmt_storage/models/management_policy_action.rb', line 22 def snapshot @snapshot end |
Class Method Details
.mapper ⇒ Object
Mapper for ManagementPolicyAction class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 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 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_action.rb', line 29 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 |