Method: Fog::Compute::AWS::Subnets#initialize
- Defined in:
- lib/fog/aws/models/compute/subnets.rb
#initialize(attributes) ⇒ Subnets
Creates a new subnet
AWS.subnets.new
Returns
Returns the details of the new Subnet
>> AWS.subnets.new <Fog::AWS::Compute::Subnet subnet_id=subnet-someId, state=, vpc_id=vpc-someId cidr_block=someIpRange available_ip_address_count=someInt tagset=nil >
33 34 35 36 |
# File 'lib/fog/aws/models/compute/subnets.rb', line 33 def initialize(attributes) self.filters ||= {} super end |