Class: Azure::Automation::Mgmt::V2015_10_31::Models::Certificate

Inherits:
ProxyResource show all
Includes:
MsRestAzure
Defined in:
lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb

Overview

Definition of the certificate.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#creation_timeDateTime

Returns Gets the creation time.

Returns:

  • (DateTime)

    Gets the creation time.



25
26
27
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb', line 25

def creation_time
  @creation_time
end

#descriptionString

Returns Gets or sets the description.

Returns:

  • (String)

    Gets or sets the description.



31
32
33
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb', line 31

def description
  @description
end

#expiry_timeDateTime

Returns Gets the expiry time of the certificate.

Returns:

  • (DateTime)

    Gets the expiry time of the certificate.



19
20
21
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb', line 19

def expiry_time
  @expiry_time
end

#is_exportableBoolean

Returns Gets the is exportable flag of the certificate.

Returns:

  • (Boolean)

    Gets the is exportable flag of the certificate.



22
23
24
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb', line 22

def is_exportable
  @is_exportable
end

#last_modified_timeDateTime

Returns Gets the last modified time.

Returns:

  • (DateTime)

    Gets the last modified time.



28
29
30
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb', line 28

def last_modified_time
  @last_modified_time
end

#thumbprintString

Returns Gets the thumbprint of the certificate.

Returns:

  • (String)

    Gets the thumbprint of the certificate.



16
17
18
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb', line 16

def thumbprint
  @thumbprint
end

Class Method Details

.mapperObject

Mapper for Certificate class as Ruby Hash. This will be used for serialization/deserialization.



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
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
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Certificate',
    type: {
      name: 'Composite',
      class_name: 'Certificate',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        thumbprint: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.thumbprint',
          type: {
            name: 'String'
          }
        },
        expiry_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.expiryTime',
          type: {
            name: 'DateTime'
          }
        },
        is_exportable: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.isExportable',
          type: {
            name: 'Boolean'
          }
        },
        creation_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.creationTime',
          type: {
            name: 'DateTime'
          }
        },
        last_modified_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.lastModifiedTime',
          type: {
            name: 'DateTime'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end