class Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateCommonName

Describes the client certificate details using common name.

Attributes

certificate_common_name[RW]

@return [String] The common name of the client certificate.

certificate_issuer_thumbprint[RW]

@return [String] The issuer thumbprint of the client certificate.

is_admin[RW]

@return [Boolean] Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster.

Private Class Methods

mapper() click to toggle source

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

# 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