# 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::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10 module Models # # Hyper V VM network input details. # class VMNicInputDetails include MsRestAzure # @return [String] The nic Id. attr_accessor :nic_id # @return [String] Recovery VM subnet name. attr_accessor :recovery_vmsubnet_name # @return [String] Replica nic static IP address. attr_accessor :replica_nic_static_ipaddress # @return [String] Selection type for failover. attr_accessor :selection_type # # Mapper for VMNicInputDetails class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VMNicInputDetails', type: { name: 'Composite', class_name: 'VMNicInputDetails', model_properties: { nic_id: { client_side_validation: true, required: false, serialized_name: 'nicId', type: { name: 'String' } }, recovery_vmsubnet_name: { client_side_validation: true, required: false, serialized_name: 'recoveryVMSubnetName', type: { name: 'String' } }, replica_nic_static_ipaddress: { client_side_validation: true, required: false, serialized_name: 'replicaNicStaticIPAddress', type: { name: 'String' } }, selection_type: { client_side_validation: true, required: false, serialized_name: 'selectionType', type: { name: 'String' } } } } } end end end end