# 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::V2018_02_01 module Models # # Describes a list of server certificates referenced by common name that # are used to secure the cluster. # class ServerCertificateCommonNames include MsRestAzure # @return [Array] The list of server # certificates referenced by common name that are used to secure the # cluster. attr_accessor :common_names # @return [Enum] The local certificate store location. Possible values # include: 'AddressBook', 'AuthRoot', 'CertificateAuthority', # 'Disallowed', 'My', 'Root', 'TrustedPeople', 'TrustedPublisher' attr_accessor :x509store_name # # Mapper for ServerCertificateCommonNames class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ServerCertificateCommonNames', type: { name: 'Composite', class_name: 'ServerCertificateCommonNames', model_properties: { common_names: { client_side_validation: true, required: false, serialized_name: 'commonNames', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ServerCertificateCommonNameElementType', type: { name: 'Composite', class_name: 'ServerCertificateCommonName' } } } }, x509store_name: { client_side_validation: true, required: false, serialized_name: 'x509StoreName', type: { name: 'String' } } } } } end end end end