# 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::KeyVault::V7_0_preview module Models # # Properties of the key pair backing a certificate. # class KeyProperties include MsRestAzure # @return [Boolean] Indicates if the private key can be exported. attr_accessor :exportable # @return [String] The key type. attr_accessor :key_type # @return [Integer] The key size in bytes. For example; 1024 or 2048. attr_accessor :key_size # @return [Boolean] Indicates if the same key pair will be used on # certificate renewal. attr_accessor :reuse_key # # Mapper for KeyProperties class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'KeyProperties', type: { name: 'Composite', class_name: 'KeyProperties', model_properties: { exportable: { client_side_validation: true, required: false, serialized_name: 'exportable', type: { name: 'Boolean' } }, key_type: { client_side_validation: true, required: false, serialized_name: 'kty', type: { name: 'String' } }, key_size: { client_side_validation: true, required: false, serialized_name: 'key_size', type: { name: 'Number' } }, reuse_key: { client_side_validation: true, required: false, serialized_name: 'reuse_key', type: { name: 'Boolean' } } } } } end end end end