Class: Azure::Batch::Mgmt::V2019_08_01::Models::CertificateBaseProperties
- Inherits:
-
Object
- Object
- Azure::Batch::Mgmt::V2019_08_01::Models::CertificateBaseProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#format ⇒ CertificateFormat
or Cer.
-
#thumbprint ⇒ String
thumbprint from the name.
-
#thumbprint_algorithm ⇒ String
match the first portion of the certificate name.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CertificateBaseProperties class as Ruby Hash.
Instance Attribute Details
#format ⇒ CertificateFormat
or Cer. If omitted, the default is Pfx. Possible values include: ‘Pfx’, ‘Cer’
28 29 30 |
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb', line 28 def format @format end |
#thumbprint ⇒ String
thumbprint from the name.
23 24 25 |
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb', line 23 def thumbprint @thumbprint end |
#thumbprint_algorithm ⇒ String
match the first portion of the certificate name. Currently required to be ‘SHA1’.
19 20 21 |
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb', line 19 def thumbprint_algorithm @thumbprint_algorithm end |
Class Method Details
.mapper ⇒ Object
Mapper for CertificateBaseProperties class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CertificateBaseProperties', type: { name: 'Composite', class_name: 'CertificateBaseProperties', model_properties: { thumbprint_algorithm: { client_side_validation: true, required: false, serialized_name: 'thumbprintAlgorithm', type: { name: 'String' } }, thumbprint: { client_side_validation: true, required: false, serialized_name: 'thumbprint', type: { name: 'String' } }, format: { client_side_validation: true, required: false, serialized_name: 'format', type: { name: 'Enum', module: 'CertificateFormat' } } } } } end |