Class: Azure::KeyVault::V7_1_preview::Models::LifetimeAction
- Inherits:
-
Object
- Object
- Azure::KeyVault::V7_1_preview::Models::LifetimeAction
- Includes:
- MsRestAzure
- Defined in:
- lib/7.1-preview/generated/azure_key_vault/models/lifetime_action.rb
Overview
Action and its trigger that will be performed by Key Vault over the lifetime of a certificate.
Instance Attribute Summary collapse
-
#action ⇒ Action
The action that will be executed.
-
#trigger ⇒ Trigger
The condition that will execute the action.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LifetimeAction class as Ruby Hash.
Instance Attribute Details
#action ⇒ Action
Returns The action that will be executed.
20 21 22 |
# File 'lib/7.1-preview/generated/azure_key_vault/models/lifetime_action.rb', line 20 def action @action end |
#trigger ⇒ Trigger
Returns The condition that will execute the action.
17 18 19 |
# File 'lib/7.1-preview/generated/azure_key_vault/models/lifetime_action.rb', line 17 def trigger @trigger end |
Class Method Details
.mapper ⇒ Object
Mapper for LifetimeAction class as Ruby Hash. This will be used for serialization/deserialization.
27 28 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 |
# File 'lib/7.1-preview/generated/azure_key_vault/models/lifetime_action.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LifetimeAction', type: { name: 'Composite', class_name: 'LifetimeAction', model_properties: { trigger: { client_side_validation: true, required: false, serialized_name: 'trigger', type: { name: 'Composite', class_name: 'Trigger' } }, action: { client_side_validation: true, required: false, serialized_name: 'action', type: { name: 'Composite', class_name: 'Action' } } } } } end |