Class: Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::TokenCertificate
- Inherits:
-
Object
- Object
- Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::TokenCertificate
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_certificate.rb
Overview
The properties of a certificate used for authenticating a token.
Instance Attribute Summary collapse
-
#encoded_pem_certificate ⇒ String
PEM format that will be used for authenticating the token.
-
#expiry ⇒ DateTime
The expiry datetime of the certificate.
-
#name ⇒ TokenCertificateName
‘certificate2’.
-
#thumbprint ⇒ String
The thumbprint of the certificate.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TokenCertificate class as Ruby Hash.
Instance Attribute Details
#encoded_pem_certificate ⇒ String
PEM format that will be used for authenticating the token.
27 28 29 |
# File 'lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_certificate.rb', line 27 def encoded_pem_certificate @encoded_pem_certificate end |
#expiry ⇒ DateTime
Returns The expiry datetime of the certificate.
20 21 22 |
# File 'lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_certificate.rb', line 20 def expiry @expiry end |
#name ⇒ TokenCertificateName
‘certificate2’
17 18 19 |
# File 'lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_certificate.rb', line 17 def name @name end |
#thumbprint ⇒ String
Returns The thumbprint of the certificate.
23 24 25 |
# File 'lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_certificate.rb', line 23 def thumbprint @thumbprint end |
Class Method Details
.mapper ⇒ Object
Mapper for TokenCertificate 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 |
# File 'lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_certificate.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TokenCertificate', type: { name: 'Composite', class_name: 'TokenCertificate', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, expiry: { client_side_validation: true, required: false, serialized_name: 'expiry', type: { name: 'DateTime' } }, thumbprint: { client_side_validation: true, required: false, serialized_name: 'thumbprint', type: { name: 'String' } }, encoded_pem_certificate: { client_side_validation: true, required: false, serialized_name: 'encodedPemCertificate', type: { name: 'String' } } } } } end |