Class: Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_properties.rb

Overview

The description of an X509 CA Certificate.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#certificateString

Returns The certificate content.

Returns:

  • (String)

    The certificate content



34
35
36
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_properties.rb', line 34

def certificate
  @certificate
end

#createdDateTime

Returns The certificate’s create date and time.

Returns:

  • (DateTime)

    The certificate’s create date and time.



28
29
30
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_properties.rb', line 28

def created
  @created
end

#expiryDateTime

Returns The certificate’s expiration date and time.

Returns:

  • (DateTime)

    The certificate’s expiration date and time.



19
20
21
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_properties.rb', line 19

def expiry
  @expiry
end

#is_verifiedBoolean

Returns Determines whether certificate has been verified.

Returns:

  • (Boolean)

    Determines whether certificate has been verified.



25
26
27
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_properties.rb', line 25

def is_verified
  @is_verified
end

#subjectString

Returns The certificate’s subject name.

Returns:

  • (String)

    The certificate’s subject name.



16
17
18
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_properties.rb', line 16

def subject
  @subject
end

#thumbprintString

Returns The certificate’s thumbprint.

Returns:

  • (String)

    The certificate’s thumbprint.



22
23
24
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_properties.rb', line 22

def thumbprint
  @thumbprint
end

#updatedDateTime

Returns The certificate’s last update date and time.

Returns:

  • (DateTime)

    The certificate’s last update date and time.



31
32
33
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_properties.rb', line 31

def updated
  @updated
end

Class Method Details

.mapperObject

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/2018-04-01/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