Class: Azure::ARM::Scheduler::Models::ClientCertAuthentication

Inherits:
HttpAuthentication show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_scheduler/models/client_cert_authentication.rb

Overview

Model object.

Instance Attribute Summary collapse

Attributes inherited from HttpAuthentication

#type

Class Method Summary collapse

Instance Attribute Details

#certificate_expiration_dateDateTime

Returns Gets or sets the certificate expiration date.

Returns:

  • (DateTime)

    Gets or sets the certificate expiration date.



28
29
30
# File 'lib/generated/azure_mgmt_scheduler/models/client_cert_authentication.rb', line 28

def certificate_expiration_date
  @certificate_expiration_date
end

#certificate_subject_nameString

Returns Gets or sets the certificate subject name.

Returns:

  • (String)

    Gets or sets the certificate subject name.



31
32
33
# File 'lib/generated/azure_mgmt_scheduler/models/client_cert_authentication.rb', line 31

def certificate_subject_name
  @certificate_subject_name
end

#certificate_thumbprintString

Returns Gets or sets the certificate thumbprint.

Returns:

  • (String)

    Gets or sets the certificate thumbprint.



25
26
27
# File 'lib/generated/azure_mgmt_scheduler/models/client_cert_authentication.rb', line 25

def certificate_thumbprint
  @certificate_thumbprint
end

#passwordString

will always be empty.

Returns:

  • (String)

    Gets or sets the certificate password, return value



18
19
20
# File 'lib/generated/azure_mgmt_scheduler/models/client_cert_authentication.rb', line 18

def password
  @password
end

#pfxString

certification in base64 encoding, return value will always be empty.

Returns:

  • (String)

    Gets or sets the pfx certificate. Accepts



22
23
24
# File 'lib/generated/azure_mgmt_scheduler/models/client_cert_authentication.rb', line 22

def pfx
  @pfx
end

Class Method Details

.mapperObject

Mapper for ClientCertAuthentication 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
# File 'lib/generated/azure_mgmt_scheduler/models/client_cert_authentication.rb', line 38

def self.mapper()
  {
    required: false,
    serialized_name: 'ClientCertAuthentication',
    type: {
      name: 'Composite',
      class_name: 'ClientCertAuthentication',
      model_properties: {
        type: {
          required: false,
          serialized_name: 'type',
          type: {
            name: 'Enum',
            module: 'HttpAuthenticationType'
          }
        },
        password: {
          required: false,
          serialized_name: 'password',
          type: {
            name: 'String'
          }
        },
        pfx: {
          required: false,
          serialized_name: 'pfx',
          type: {
            name: 'String'
          }
        },
        certificate_thumbprint: {
          required: false,
          serialized_name: 'certificateThumbprint',
          type: {
            name: 'String'
          }
        },
        certificate_expiration_date: {
          required: false,
          serialized_name: 'certificateExpirationDate',
          type: {
            name: 'DateTime'
          }
        },
        certificate_subject_name: {
          required: false,
          serialized_name: 'certificateSubjectName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end