def create_subnet(options = {})
      options = options.merge(vpc_id: @id)
      resp = @client.create_subnet(options)
      Subnet.new(
        id: resp.data.subnet.subnet_id,
        data: resp.data.subnet,
        client: @client
      )
    end
def create_subnet(options = {})
      options = options.merge(vpc_id: @id)
      resp = @client.create_subnet(options)
      Subnet.new(
        id: resp.data.subnet.subnet_id,
        data: resp.data.subnet,
        client: @client
      )
    end
@example Request syntax with placeholder values

   subnet = vpc.create_subnet({
     availability_zone: "String",
     availability_zone_id: "String",
     cidr_block: "String", # required
     ipv_6_cidr_block: "String",
     dry_run: false,
   })
 @param [Hash] options ({})
 @option options [String] :availability_zone
   The Availability Zone for the subnet.

   Default: AWS selects one for you. If you create more than one subnet
   in your VPC, we may not necessarily select a different zone for each
   subnet.
 @option options [String] :availability_zone_id
   The AZ ID of the subnet.
 @option options [required, String] :cidr_block
   The IPv4 network range for the subnet, in CIDR notation. For example,
   `10.0.0.0/24`.
 @option options [String] :ipv_6_cidr_block
   The IPv6 network range for the subnet, in CIDR notation. The subnet
   size must use a /64 prefix length.
 @option options [Boolean] :dry_run
   Checks whether you have the required permissions for the action,
   without actually making the request, and provides an error response.
   If you have the required permissions, the error response is
   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
 @return [Subnet]