Class: Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateCommonName

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb

Overview

Describes the client certificate details using common name.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#certificate_common_nameString

Returns The common name of the client certificate.

Returns:

  • (String)

    The common name of the client certificate.



21
22
23
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb', line 21

def certificate_common_name
  @certificate_common_name
end

#certificate_issuer_thumbprintString

Returns The issuer thumbprint of the client certificate.

Returns:

  • (String)

    The issuer thumbprint of the client certificate.



24
25
26
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb', line 24

def certificate_issuer_thumbprint
  @certificate_issuer_thumbprint
end

#is_adminBoolean

to the cluster. Non admin clients can perform only read only operations on the cluster.

Returns:

  • (Boolean)

    Indicates if the client certificate has admin access



18
19
20
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb', line 18

def is_admin
  @is_admin
end

Class Method Details

.mapperObject

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



31
32
33
34
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
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ClientCertificateCommonName',
    type: {
      name: 'Composite',
      class_name: 'ClientCertificateCommonName',
      model_properties: {
        is_admin: {
          client_side_validation: true,
          required: true,
          serialized_name: 'isAdmin',
          type: {
            name: 'Boolean'
          }
        },
        certificate_common_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'certificateCommonName',
          type: {
            name: 'String'
          }
        },
        certificate_issuer_thumbprint: {
          client_side_validation: true,
          required: true,
          serialized_name: 'certificateIssuerThumbprint',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end