# 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::NetApp::Mgmt::V2019_05_01 module Models # # Mount Target # class MountTarget include MsRestAzure # @return [String] Resource location attr_accessor :location # @return [String] Resource Id attr_accessor :id # @return [String] Resource name attr_accessor :name # @return Resource tags attr_accessor :tags # @return [String] mountTargetId. UUID v4 used to identify the # MountTarget attr_accessor :mount_target_id # @return [String] fileSystemId. UUID v4 used to identify the MountTarget attr_accessor :file_system_id # @return [String] ipAddress. The mount target's IPv4 address attr_accessor :ip_address # @return [String] subnet. The subnet attr_accessor :subnet # @return [String] startIp. The start of IPv4 address range to use when # creating a new mount target attr_accessor :start_ip # @return [String] endIp. The end of IPv4 address range to use when # creating a new mount target attr_accessor :end_ip # @return [String] gateway. The gateway of the IPv4 address range to use # when creating a new mount target attr_accessor :gateway # @return [String] netmask. The netmask of the IPv4 address range to use # when creating a new mount target attr_accessor :netmask # @return [String] smbServerFQDN. The SMB server's Fully Qualified Domain # Name, FQDN attr_accessor :smb_server_fqdn # @return [String] Azure lifecycle management attr_accessor :provisioning_state # # Mapper for MountTarget class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'mountTarget', type: { name: 'Composite', class_name: 'MountTarget', model_properties: { location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Object' } }, mount_target_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.mountTargetId', constraints: { MaxLength: 36, MinLength: 36, Pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' }, type: { name: 'String' } }, file_system_id: { client_side_validation: true, required: true, serialized_name: 'properties.fileSystemId', constraints: { MaxLength: 36, MinLength: 36, Pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' }, type: { name: 'String' } }, ip_address: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipAddress', type: { name: 'String' } }, subnet: { client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { name: 'String' } }, start_ip: { client_side_validation: true, required: false, serialized_name: 'properties.startIp', type: { name: 'String' } }, end_ip: { client_side_validation: true, required: false, serialized_name: 'properties.endIp', type: { name: 'String' } }, gateway: { client_side_validation: true, required: false, serialized_name: 'properties.gateway', type: { name: 'String' } }, netmask: { client_side_validation: true, required: false, serialized_name: 'properties.netmask', type: { name: 'String' } }, smb_server_fqdn: { client_side_validation: true, required: false, serialized_name: 'properties.smbServerFqdn', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } } } } } end end end end