Class: Azure::KeyVault::V7_1_preview::Models::CertificateBundle
- Inherits:
-
Object
- Object
- Azure::KeyVault::V7_1_preview::Models::CertificateBundle
- Includes:
- MsRestAzure
- Defined in:
- lib/7.1-preview/generated/azure_key_vault/models/certificate_bundle.rb
Overview
A certificate bundle consists of a certificate (X509) plus its attributes.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#attributes ⇒ CertificateAttributes
The certificate attributes.
-
#cer ⇒ Array<Integer>
CER contents of x509 certificate.
-
#content_type ⇒ String
The content type of the secret.
-
#id ⇒ String
The certificate id.
-
#kid ⇒ String
The key id.
-
#policy ⇒ CertificatePolicy
The management policy.
-
#sid ⇒ String
The secret id.
-
#tags ⇒ Hash{String => String}
form of key-value pairs.
-
#x509thumbprint ⇒ Object
Thumbprint of the certificate.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CertificateBundle class as Ruby Hash.
Instance Attribute Details
#attributes ⇒ CertificateAttributes
Returns The certificate attributes.
38 39 40 |
# File 'lib/7.1-preview/generated/azure_key_vault/models/certificate_bundle.rb', line 38 def attributes @attributes end |
#cer ⇒ Array<Integer>
Returns CER contents of x509 certificate.
32 33 34 |
# File 'lib/7.1-preview/generated/azure_key_vault/models/certificate_bundle.rb', line 32 def cer @cer end |
#content_type ⇒ String
Returns The content type of the secret.
35 36 37 |
# File 'lib/7.1-preview/generated/azure_key_vault/models/certificate_bundle.rb', line 35 def content_type @content_type end |
#id ⇒ String
Returns The certificate id.
17 18 19 |
# File 'lib/7.1-preview/generated/azure_key_vault/models/certificate_bundle.rb', line 17 def id @id end |
#kid ⇒ String
Returns The key id.
20 21 22 |
# File 'lib/7.1-preview/generated/azure_key_vault/models/certificate_bundle.rb', line 20 def kid @kid end |
#policy ⇒ CertificatePolicy
Returns The management policy.
29 30 31 |
# File 'lib/7.1-preview/generated/azure_key_vault/models/certificate_bundle.rb', line 29 def policy @policy end |
#sid ⇒ String
Returns The secret id.
23 24 25 |
# File 'lib/7.1-preview/generated/azure_key_vault/models/certificate_bundle.rb', line 23 def sid @sid end |
#tags ⇒ Hash{String => String}
form of key-value pairs
42 43 44 |
# File 'lib/7.1-preview/generated/azure_key_vault/models/certificate_bundle.rb', line 42 def @tags end |
#x509thumbprint ⇒ Object
Returns Thumbprint of the certificate.
26 27 28 |
# File 'lib/7.1-preview/generated/azure_key_vault/models/certificate_bundle.rb', line 26 def x509thumbprint @x509thumbprint end |
Class Method Details
.mapper ⇒ Object
Mapper for CertificateBundle class as Ruby Hash. This will be used for serialization/deserialization.
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 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 |
# File 'lib/7.1-preview/generated/azure_key_vault/models/certificate_bundle.rb', line 49 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CertificateBundle', type: { name: 'Composite', class_name: 'CertificateBundle', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, kid: { client_side_validation: true, required: false, read_only: true, serialized_name: 'kid', type: { name: 'String' } }, sid: { client_side_validation: true, required: false, read_only: true, serialized_name: 'sid', type: { name: 'String' } }, x509thumbprint: { client_side_validation: true, required: false, read_only: true, serialized_name: 'x5t', type: { name: 'Base64Url' } }, policy: { client_side_validation: true, required: false, read_only: true, serialized_name: 'policy', type: { name: 'Composite', class_name: 'CertificatePolicy' } }, cer: { client_side_validation: true, required: false, serialized_name: 'cer', type: { name: 'ByteArray' } }, content_type: { client_side_validation: true, required: false, serialized_name: 'contentType', type: { name: 'String' } }, attributes: { client_side_validation: true, required: false, serialized_name: 'attributes', type: { name: 'Composite', class_name: 'CertificateAttributes' } }, 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' } } } } } } } end |