Class: Bosh::Director::DeploymentPlan::DynamicNetworkSubnet
- Defined in:
- lib/bosh/director/deployment_plan/dynamic_network_subnet.rb
Instance Attribute Summary collapse
-
#availability_zone_names ⇒ Object
readonly
Returns the value of attribute availability_zone_names.
-
#cloud_properties ⇒ Object
readonly
Returns the value of attribute cloud_properties.
-
#dns ⇒ Object
readonly
Returns the value of attribute dns.
Instance Method Summary collapse
-
#initialize(dns, cloud_properties, availability_zone_names) ⇒ DynamicNetworkSubnet
constructor
A new instance of DynamicNetworkSubnet.
Constructor Details
#initialize(dns, cloud_properties, availability_zone_names) ⇒ DynamicNetworkSubnet
Returns a new instance of DynamicNetworkSubnet.
4 5 6 7 8 |
# File 'lib/bosh/director/deployment_plan/dynamic_network_subnet.rb', line 4 def initialize(dns, cloud_properties, availability_zone_names) @dns = dns @cloud_properties = cloud_properties @availability_zone_names = availability_zone_names.nil? ? nil : availability_zone_names end |
Instance Attribute Details
#availability_zone_names ⇒ Object (readonly)
Returns the value of attribute availability_zone_names.
10 11 12 |
# File 'lib/bosh/director/deployment_plan/dynamic_network_subnet.rb', line 10 def availability_zone_names @availability_zone_names end |
#cloud_properties ⇒ Object (readonly)
Returns the value of attribute cloud_properties.
10 11 12 |
# File 'lib/bosh/director/deployment_plan/dynamic_network_subnet.rb', line 10 def cloud_properties @cloud_properties end |
#dns ⇒ Object (readonly)
Returns the value of attribute dns.
10 11 12 |
# File 'lib/bosh/director/deployment_plan/dynamic_network_subnet.rb', line 10 def dns @dns end |