Class: Azure::IotHub::Mgmt::V2019_07_01_preview::Models::CertificateProperties
- Inherits:
-
Object
- Object
- Azure::IotHub::Mgmt::V2019_07_01_preview::Models::CertificateProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_properties.rb
Overview
The description of an X509 CA Certificate.
Instance Attribute Summary collapse
-
#certificate ⇒ String
The certificate content.
-
#created ⇒ DateTime
The certificate’s create date and time.
-
#expiry ⇒ DateTime
The certificate’s expiration date and time.
-
#is_verified ⇒ Boolean
Determines whether certificate has been verified.
-
#subject ⇒ String
The certificate’s subject name.
-
#thumbprint ⇒ String
The certificate’s thumbprint.
-
#updated ⇒ DateTime
The certificate’s last update date and time.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CertificateProperties class as Ruby Hash.
Instance Attribute Details
#certificate ⇒ String
Returns The certificate content.
34 35 36 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_properties.rb', line 34 def certificate @certificate end |
#created ⇒ DateTime
Returns The certificate’s create date and time.
28 29 30 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_properties.rb', line 28 def created @created end |
#expiry ⇒ DateTime
Returns The certificate’s expiration date and time.
19 20 21 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_properties.rb', line 19 def expiry @expiry end |
#is_verified ⇒ Boolean
Returns Determines whether certificate has been verified.
25 26 27 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_properties.rb', line 25 def is_verified @is_verified end |
#subject ⇒ String
Returns The certificate’s subject name.
16 17 18 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_properties.rb', line 16 def subject @subject end |
#thumbprint ⇒ String
Returns The certificate’s thumbprint.
22 23 24 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_properties.rb', line 22 def thumbprint @thumbprint end |
#updated ⇒ DateTime
Returns The certificate’s last update date and time.
31 32 33 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_properties.rb', line 31 def updated @updated end |
Class Method Details
.mapper ⇒ Object
Mapper for CertificateProperties class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_properties.rb', line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CertificateProperties', type: { name: 'Composite', class_name: 'CertificateProperties', model_properties: { subject: { client_side_validation: true, required: false, read_only: true, serialized_name: 'subject', type: { name: 'String' } }, expiry: { client_side_validation: true, required: false, read_only: true, serialized_name: 'expiry', type: { name: 'DateTimeRfc1123' } }, thumbprint: { client_side_validation: true, required: false, read_only: true, serialized_name: 'thumbprint', type: { name: 'String' } }, is_verified: { client_side_validation: true, required: false, read_only: true, serialized_name: 'isVerified', type: { name: 'Boolean' } }, created: { client_side_validation: true, required: false, read_only: true, serialized_name: 'created', type: { name: 'DateTimeRfc1123' } }, updated: { client_side_validation: true, required: false, read_only: true, serialized_name: 'updated', type: { name: 'DateTimeRfc1123' } }, certificate: { client_side_validation: true, required: false, serialized_name: 'certificate', type: { name: 'String' } } } } } end |