Class: Azure::KeyVault::V2016_10_01::Models::KeyBundle
- Inherits:
-
Object
- Object
- Azure::KeyVault::V2016_10_01::Models::KeyBundle
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-10-01/generated/azure_key_vault/models/key_bundle.rb
Overview
A KeyBundle consisting of a WebKey plus its attributes.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#attributes ⇒ KeyAttributes
The key management attributes.
-
#key ⇒ JsonWebKey
The Json web key.
-
#managed ⇒ Boolean
If this is a key backing a certificate, then managed will be true.
-
#tags ⇒ Hash{String => String}
form of key-value pairs.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for KeyBundle class as Ruby Hash.
Instance Attribute Details
#attributes ⇒ KeyAttributes
Returns The key management attributes.
19 20 21 |
# File 'lib/2016-10-01/generated/azure_key_vault/models/key_bundle.rb', line 19 def attributes @attributes end |
#key ⇒ JsonWebKey
Returns The Json web key.
16 17 18 |
# File 'lib/2016-10-01/generated/azure_key_vault/models/key_bundle.rb', line 16 def key @key end |
#managed ⇒ Boolean
If this is a key backing a certificate, then managed will be true.
27 28 29 |
# File 'lib/2016-10-01/generated/azure_key_vault/models/key_bundle.rb', line 27 def managed @managed end |
#tags ⇒ Hash{String => String}
form of key-value pairs.
23 24 25 |
# File 'lib/2016-10-01/generated/azure_key_vault/models/key_bundle.rb', line 23 def @tags end |
Class Method Details
.mapper ⇒ Object
Mapper for KeyBundle class as Ruby Hash. This will be used for serialization/deserialization.
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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/2016-10-01/generated/azure_key_vault/models/key_bundle.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'KeyBundle', type: { name: 'Composite', class_name: 'KeyBundle', model_properties: { key: { client_side_validation: true, required: false, serialized_name: 'key', type: { name: 'Composite', class_name: 'JsonWebKey' } }, attributes: { client_side_validation: true, required: false, serialized_name: 'attributes', type: { name: 'Composite', class_name: 'KeyAttributes' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, managed: { client_side_validation: true, required: false, read_only: true, serialized_name: 'managed', type: { name: 'Boolean' } } } } } end |