Class: Azure::VirtualNetworkManagement::VirtualNetwork
- Inherits:
-
Object
- Object
- Azure::VirtualNetworkManagement::VirtualNetwork
- Defined in:
- lib/azure/virtual_network_management/virtual_network.rb
Overview
Represents a Virtual Network
Instance Attribute Summary collapse
-
#address_space ⇒ Object
Returns the value of attribute address_space.
-
#affinity_group ⇒ Object
Returns the value of attribute affinity_group.
-
#dns_servers ⇒ Object
Returns the value of attribute dns_servers.
-
#id ⇒ Object
Returns the value of attribute id.
-
#location ⇒ Object
Returns the value of attribute location.
-
#name ⇒ Object
Returns the value of attribute name.
-
#state ⇒ Object
Returns the value of attribute state.
-
#subnets ⇒ Object
Returns the value of attribute subnets.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ VirtualNetwork
constructor
A new instance of VirtualNetwork.
Constructor Details
#initialize {|_self| ... } ⇒ VirtualNetwork
Returns a new instance of VirtualNetwork.
20 21 22 23 24 25 |
# File 'lib/azure/virtual_network_management/virtual_network.rb', line 20 def initialize yield self if block_given? @address_space = [] @subnets = [] @dns_servers = [] end |
Instance Attribute Details
#address_space ⇒ Object
Returns the value of attribute address_space.
30 31 32 |
# File 'lib/azure/virtual_network_management/virtual_network.rb', line 30 def address_space @address_space end |
#affinity_group ⇒ Object
Returns the value of attribute affinity_group.
33 34 35 |
# File 'lib/azure/virtual_network_management/virtual_network.rb', line 33 def affinity_group @affinity_group end |
#dns_servers ⇒ Object
Returns the value of attribute dns_servers.
32 33 34 |
# File 'lib/azure/virtual_network_management/virtual_network.rb', line 32 def dns_servers @dns_servers end |
#id ⇒ Object
Returns the value of attribute id.
29 30 31 |
# File 'lib/azure/virtual_network_management/virtual_network.rb', line 29 def id @id end |
#location ⇒ Object
Returns the value of attribute location.
34 35 36 |
# File 'lib/azure/virtual_network_management/virtual_network.rb', line 34 def location @location end |
#name ⇒ Object
Returns the value of attribute name.
27 28 29 |
# File 'lib/azure/virtual_network_management/virtual_network.rb', line 27 def name @name end |
#state ⇒ Object
Returns the value of attribute state.
28 29 30 |
# File 'lib/azure/virtual_network_management/virtual_network.rb', line 28 def state @state end |
#subnets ⇒ Object
Returns the value of attribute subnets.
31 32 33 |
# File 'lib/azure/virtual_network_management/virtual_network.rb', line 31 def subnets @subnets end |