# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ServiceFabric::Mgmt::V2016_09_01 module Models # # Client certificate details using common name # class ClientCertificateCommonName include MsRestAzure # @return [Boolean] Is this certificate used for admin access from the # client, if false , it is used or query only access attr_accessor :is_admin # @return [String] Certificate common name to be granted access; be # carefull using wild card common names attr_accessor :certificate_common_name # @return [String] Certificate issuer thumbprint attr_accessor :certificate_issuer_thumbprint # # Mapper for ClientCertificateCommonName class as Ruby Hash. # This will be used for serialization/deserialization. # 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 end end end