# 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::Network::Mgmt::V2018_12_01 module Models # # IP configuration profile child resource. # class IPConfigurationProfile < SubResource include MsRestAzure # @return [Subnet] The reference of the subnet resource to create a # container network interface ip configuration. attr_accessor :subnet # @return [String] The provisioning state of the resource. attr_accessor :provisioning_state # @return [String] The name of the resource. This name can be used to # access the resource. attr_accessor :name # @return [String] Sub Resource type. attr_accessor :type # @return [String] A unique read-only string that changes whenever the # resource is updated. attr_accessor :etag # # Mapper for IPConfigurationProfile class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'IPConfigurationProfile', type: { name: 'Composite', class_name: 'IPConfigurationProfile', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, subnet: { client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { name: 'Composite', class_name: 'Subnet' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, etag: { client_side_validation: true, required: false, serialized_name: 'etag', type: { name: 'String' } } } } } end end end end