# 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::V2016_03_30 module Models # # IPConfiguration # class IPConfiguration < SubResource include MsRestAzure # @return [String] Gets or sets the privateIPAddress of the IP # Configuration attr_accessor :private_ipaddress # @return [IPAllocationMethod] Gets or sets PrivateIP allocation method # (Static/Dynamic). Possible values include: 'Static', 'Dynamic' attr_accessor :private_ipallocation_method # @return [Subnet] Gets or sets the reference of the subnet resource attr_accessor :subnet # @return [PublicIPAddress] Gets or sets the reference of the PublicIP # resource attr_accessor :public_ipaddress # @return [String] Gets or sets Provisioning state of the PublicIP # resource Updating/Deleting/Failed attr_accessor :provisioning_state # @return [String] Gets name of the resource that is unique within a # resource group. This name can be used to access the resource attr_accessor :name # @return [String] A unique read-only string that changes whenever the # resource is updated attr_accessor :etag # # Mapper for IPConfiguration class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { name: 'Composite', class_name: 'IPConfiguration', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, private_ipaddress: { client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { name: 'String' } }, private_ipallocation_method: { client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { name: 'String' } }, subnet: { client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { name: 'Composite', class_name: 'Subnet' } }, public_ipaddress: { client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { name: 'Composite', class_name: 'PublicIPAddress' } }, provisioning_state: { client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, etag: { client_side_validation: true, required: false, serialized_name: 'etag', type: { name: 'String' } } } } } end end end end